Skip to content

Instantly share code, notes, and snippets.

@fatihacet fatihacet/alert.js
Last active Aug 29, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.