Created
June 8, 2012 06:16
-
-
Save jmarnold/2893912 to your computer and use it in GitHub Desktop.
Hello World Screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var helloView = null; | |
var helloScreen = { | |
activate: function() { | |
helloView = $.diagnostics.createView('Hello World!'); | |
helloView.configure(function() { | |
this.append('<p>Check this out</p>'); | |
}); | |
helloView.show(); | |
}, | |
deactivate: function() { | |
helloView.hide(); | |
} | |
}; | |
$.diagnostics.registerScreen('keydown.ctrl_z', 'Hello World', helloScreen); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment