2
0
Эх сурвалжийг харах

pas2js: descend pascal class from jsfunction

git-svn-id: trunk@45701 -
Mattias Gaertner 5 жил өмнө
parent
commit
1adf6c9428

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

@@ -366,7 +366,7 @@ var rtl = {
       if (newinstancefnname.length>0){
         o = this[newinstancefnname](fn,args);
       } else if(isFunc) {
-        o = new c.$func(args);
+        o = new this.$func(args);
       } else {
         o = Object.create(c);
       }