浏览代码

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

Use core.method({...,protocol:"foo",...}).
Herbert Vojčík 10 年之前
父节点
当前提交
bd1fe50918
共有 1 个文件被更改,包括 1 次插入2 次删除
  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 || [];