Skip to content

Commit

Permalink
feat(plugins): remove AtScript support
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Apr 8, 2015
1 parent 50e3afe commit f1adb01
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,6 @@ export class Plugins {
return this;
}

/**
* Installs special support for AtScript authoring.
*
* @method atscript
* @return {Plugins} Returns the current Plugins instance.
*/
atscript(){
this.aurelia.container.supportAtScript();
Metadata.configure.locator((fn, meta) => {
var annotations = fn['annotate'] || fn['annotations'],
i, ii;

if(annotations && annotations.length){
for(i = 0, ii = annotations.length; i < ii; ++i){
meta.add(annotations[i]);
}
}
});
return this;
}

_process(){
var aurelia = this.aurelia,
loader = aurelia.loader,
Expand Down

0 comments on commit f1adb01

Please sign in to comment.