Checkpoint.
* Got fonts working cross platform by only using SVG. This will change
with the new webkit engine when Tide 1.4 is released.
* Use the Tide API accessors for cross-window data.
* Make the ThingFish server object an observable, so models and their
URI bases can be changed easily.
* Add options for saving window state and position.
* Contextual menu updates/tests for later.
D = Ti.API.get( 'D' );
$( 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;
});
*/
});