Last active
March 23, 2016 23:46
-
-
Save nicoespeon/c07f516cac87d5d70cfc to your computer and use it in GitHub Desktop.
Blog - Plop — a micro-generator to ease your daily life - calendars
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
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