Skip to content

Instantly share code, notes, and snippets.

@geoffreymcgill
Created August 12, 2017 21:30
Show Gist options
  • Save geoffreymcgill/c295efe8cbdeaf6fc81ac24fa427f9d1 to your computer and use it in GitHub Desktop.
Save geoffreymcgill/c295efe8cbdeaf6fc81ac24fa427f9d1 to your computer and use it in GitHub Desktop.
/** @namespace Demo */
/**
* This class performs an important function.
*
* @public
* @class Demo.App
*/
Bridge.define("Demo.App", {
statics: {
config: {
init: function () {
Bridge.ready(this.main);
}
},
/**
* @static
* @public
* @this Demo.App
* @memberof Demo.App
* @return {void}
*/
main: function () {
Bridge.global.alert("Success");
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment