Browse Source

deprecation off: core.method({...,category:"foo",...})

Use core.method({...,protocol:"foo",...}).
Herbert Vojčík 10 years ago
parent
commit
bd1fe50918
1 changed files with 1 additions and 2 deletions
  1. 1 2
      support/boot.js

+ 1 - 2
support/boot.js

@@ -567,8 +567,7 @@ define("amber/boot", [ 'require', './browser-compatibility' ], function (require
 			that.selector          = spec.selector;
 			that.jsSelector        = spec.jsSelector;
 			that.args              = spec.args || {};
-			// spec.category is kept for compatibility
-			that.protocol          = spec.protocol || spec.category;
+			that.protocol          = spec.protocol;
 			that.source            = spec.source;
 			that.messageSends      = spec.messageSends || [];
 			that.referencedClasses = spec.referencedClasses || [];