Skip to content

Commit 3746368

Browse files
feat(plugins): support legacy atscript annotation location
1 parent aeead44 commit 3746368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class Plugins {
9090
*/
9191
atscript(){
9292
this.aurelia.container.supportAtScript();
93-
Metadata.configure.location('annotate');
93+
Metadata.configure.locator(fn => fn['annotate'] || fn['annotations']);
9494
return this;
9595
}
9696

0 commit comments

Comments
 (0)