Skip to content

Commit

Permalink
feat(plugins): support legacy atscript annotation location
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 2, 2015
1 parent aeead44 commit 3746368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class Plugins {
*/
atscript(){
this.aurelia.container.supportAtScript();
Metadata.configure.location('annotate');
Metadata.configure.locator(fn => fn['annotate'] || fn['annotations']);
return this;
}

Expand Down

0 comments on commit 3746368

Please sign in to comment.