Skip to content

Commit

Permalink
fix(index): plugin now uses new id-base api for resources
Browse files Browse the repository at this point in the history
This is a BREAKING CHANGE. This plugin will not use the new
withResources API on the aurelia object to register global resources by
their module id.
  • Loading branch information
EisenbergEffect committed Mar 2, 2015
1 parent 856994c commit f2cf8bf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/index.js
Expand Up @@ -8,7 +8,16 @@ import {GlobalBehavior} from './global-behavior';
import {InnerHTML} from './inner-html';

function install(aurelia){
aurelia.withResources([Show, If, With, Repeat, Compose, SelectedItem, GlobalBehavior, InnerHTML]);
aurelia.withResources(
'./compose',
'./if',
'./with',
'./repeat',
'./show',
'./selected-item',
'./global-behavior',
'./inner-html'
);
}

export {
Expand Down

0 comments on commit f2cf8bf

Please sign in to comment.