Browse Source

boot.js: appeasing jshint, formatting

Herbert Vojčík 9 years ago
parent
commit
3069eea5b3
1 changed files with 2 additions and 2 deletions
  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) {