Resources/js/d/splash.js
author Mahlon E. Smith <mahlon@martini.nu>
Mon, 02 Sep 2013 02:22:21 -0700
changeset 0 80c32ef237c6
child 1 b3419d05eabb
permissions -rw-r--r--
Initial commit.


$( 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;
	});
	*/
});