Herbert Vojčík пре 7 година
родитељ
комит
c1e277ef23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      support/kernel-language.js

+ 1 - 1
support/kernel-language.js

@@ -267,7 +267,7 @@ define(['./compatibility'], function () {
         st.addClass = function (className, superclass, iVarNames, pkgName) {
             // While subclassing nil is allowed, it might be an error, so
             // warn about it.
-            if (typeof superclass == 'undefined' || superclass && superclass.a$nil) {
+            if (typeof superclass === 'undefined' || superclass && superclass.a$nil) {
                 console.warn('Compiling ' + className + ' as a subclass of `nil`. A dependency might be missing.');
             }
             return buildBehaviorBody(pkgName, classBuilder(className, superclass, iVarNames, coreFns[className]));