Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Added setup method to plugin base
  • Loading branch information
toddpi314 committed Dec 7, 2015
1 parent c3993f1 commit fe91459
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugin/base.js
Expand Up @@ -12,6 +12,12 @@ export default class extends LifeCycle {
return this._key;
}

setup(options, callback) {
if (callback)
return callback();
}


loadComponent(options, callback) {
return super.loadComponent(options, callback);
}
Expand Down

0 comments on commit fe91459

Please sign in to comment.