diff -r 000000000000 -r 80c32ef237c6 Resources/js/d/splash.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Resources/js/d/splash.js Mon Sep 02 02:22:21 2013 -0700 @@ -0,0 +1,30 @@ + +$( window ).ready( function() { + $( '#name' ).html( D.name ); + + /* + var win = $( window ); + splash = Ti.UI.currentWindow; + + var dragging = false; + var xstart = 0; + var ystart = 0; + + win.bind( 'mousemove', function( event ) { + if ( ! dragging ) return; + splash.setX( splash.getX() + event.clientX - xstart ); + splash.setY( splash.getY() + event.clientY - ystart ); + }); + + win.bind( 'mousedown', function( event ) { + dragging = true; + xstart = event.clientX; + ystart = event.clientY; + }); + + win.bind( 'mouseup', function() { + dragging = false; + }); + */ +}); +