浏览代码

boot.js: appeasing jshint, formatting

Herbert Vojčík 10 年之前
父节点
当前提交
3069eea5b3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      support/boot.js

+ 2 - 2
support/boot.js

@@ -201,7 +201,7 @@ define("amber/boot", [ 'require', './browser-compatibility' ], function (require
 			this.selectors.push(stSelector);
 			var jsSelector = st.st2js(stSelector);
 			checker[jsSelector] = true;
-			var method = {jsSelector: jsSelector, fn: createHandler(stSelector)};
+			method = {jsSelector: jsSelector, fn: createHandler(stSelector)};
 			methodDict[stSelector] = method;
 			methods.push(method);
 			manip.installMethod(method, rootAsClass);
@@ -969,7 +969,7 @@ define("amber/boot", [ 'require', './browser-compatibility' ], function (require
 
 		function pushContext(setup) {
 			var newContext = st.thisContext = new SmalltalkMethodContext(st.thisContext, setup);
-            return newContext;
+			return newContext;
 		}
 
 		function popContext(context) {