1
0
Ver Fonte

boot.js: appeasing jshint, formatting

Herbert Vojčík há 10 anos atrás
pai
commit
3069eea5b3
1 ficheiros alterados com 2 adições e 2 exclusões
  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) {