Resources/js/d/splash.js
changeset 0 80c32ef237c6
child 1 b3419d05eabb
--- /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;
+	});
+	*/
+});
+