Browse Source

fixed ancestor

mattias 5 năm trước cách đây
mục cha
commit
069b863bc5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/utils/pas2js/dist/rtl.js

+ 1 - 1
compiler/utils/pas2js/dist/rtl.js

@@ -357,7 +357,7 @@ var rtl = {
       c.$ancestor = ancestor;
       // c.$ancestor === Object.getPrototypeOf(c)
     } else {
-      c = { $ancestor = null };
+      c = { $ancestor : null };
     };
     parent[name] = c;
     c.$class = c; // Note: o.$class === Object.getPrototypeOf(o)