Skip to content

Instantly share code, notes, and snippets.

@nicoespeon
Last active March 23, 2016 23:46
Show Gist options
  • Save nicoespeon/c07f516cac87d5d70cfc to your computer and use it in GitHub Desktop.
Save nicoespeon/c07f516cac87d5d70cfc to your computer and use it in GitHub Desktop.
Blog - Plop — a micro-generator to ease your daily life - calendars
import Module from "core/module";
import _ from "lodash";
// IMPORT MODULE FILES
const namespace = "calendars";
export default Module.extend( {
initialize() {
_.defaults( this.options, { isDisplayed: true } );
},
onStart() {
this.ready();
},
onReady() {
// Do something when module is considered as ready
}
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment