`withPluginAPI` shim to updated plugins will not raise errors

This commit is contained in:
Robin Ward 2016-02-16 12:25:01 -05:00
parent bf96025507
commit 3811b8aa4c
1 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,8 @@ export function decorateCooked(container, cb) {
decorate(container.lookupFactory('view:embedded-post'), 'didInsertElement', cb);
decorate(container.lookupFactory('view:user-stream'), 'didInsertElement', cb);
}
// Will be backported so plugins in the new format will not raise errors
export function withPluginApi(version) {
console.warn(`Plugin API v${version} is not supported`);
}