1
0
Herby Vojčík 4 år sedan
förälder
incheckning
f9949a88cf
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      lang/base/kernel-language.js
  2. 2 2
      lang/base/kernel-runtime.js

+ 1 - 1
lang/base/kernel-language.js

@@ -69,7 +69,7 @@ define(['./junk-drawer'], function ($goodies) {
         function aliasesOfSelector (selector, traitAliases) {
             if (!traitAliases) return [selector];
             var result = Object.keys(traitAliases).filter(function (aliasSelector) {
-                return traitAliases[aliasSelector] === selector
+                return traitAliases[aliasSelector] === selector;
             });
             if (!traitAliases[selector]) result.push(selector);
             return result;

+ 2 - 2
lang/base/kernel-runtime.js

@@ -231,7 +231,7 @@ define(['./junk-drawer'], function ($goodies) {
             this.__init__ = function () {
                 st.alias(globals.Array, "OrderedCollection");
                 st.alias(globals.Date, "Time");
-            }
+            };
         }
 
         RuntimeMethodsBrik.deps = ["selectorConversion"];
@@ -430,7 +430,7 @@ define(['./junk-drawer'], function ($goodies) {
                         self[propertyName] = args[0];
                         return self;
                     default:
-                        throw new Error("Cannot interpret " + propertyName + " with " + args.length + " arguments; field is a " + typeof propertyValue + ", not a function")
+                        throw new Error("Cannot interpret " + propertyName + " with " + args.length + " arguments; field is a " + typeof propertyValue + ", not a function");
                 }
             };
         }