Skip to content

v1.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@davej davej released this 28 Feb 14:23
· 33 commits to master since this release

You can now do shorthand option declarations. A shorthand option declaration will be applied to all plugins. You can use shorthand options at both the controller or module level.

So, instead of:

__options: {
  'bindData': {
    addToScope: false
  },
  'bindMethods': {
    addToScope: false
  }
}

You can now write:

__options: {
  addToScope: false
}

or:

app.classy.options.controller = {
  addToScope: false
};