Explorar o código

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

Use core.method({...,protocol:"foo",...}).
Herbert Vojčík %!s(int64=10) %!d(string=hai) anos
pai
achega
bd1fe50918
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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 || [];