Skip to content

Instantly share code, notes, and snippets.

@fatihacet
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatihacet/2d7928cb8a450d4b81fc to your computer and use it in GitHub Desktop.
Save fatihacet/2d7928cb8a450d4b81fc to your computer and use it in GitHub Desktop.
alert.js
window.IDE.appControllers.helloworld = function() {
time = new Date().toString().match(/(\d\d:\d\d:\d\d)/)[0];
view = new KDCustomHTMLView({
tagName: 'h2',
partial: 'HELLO WORLD APP LOADED at ' + time + ' !!!'
});
return view;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment