mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +02:00
pas2js: fixed arrayRef
git-svn-id: trunk@45335 -
This commit is contained in:
parent
4fed12553a
commit
4afe1de02f
9
utils/pas2js/dist/rtl.js
vendored
9
utils/pas2js/dist/rtl.js
vendored
@ -821,9 +821,7 @@ var rtl = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
arrayRef: function(a){
|
arrayRef: function(a){
|
||||||
if (a!=null){
|
if (a!=null) rtl.hideProp(a,'$pas2jsrefcnt',1);
|
||||||
rtl.hideProp(a,$pas2jsrefcnt,1);
|
|
||||||
}
|
|
||||||
return a;
|
return a;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -911,11 +909,6 @@ var rtl = {
|
|||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
arrayRef: function(a){
|
|
||||||
if (a!==null) rtl.hideProp(a,'$pas2jsrefcnt',1);
|
|
||||||
return a;
|
|
||||||
},
|
|
||||||
|
|
||||||
arrayClone: function(type,src,srcpos,endpos,dst,dstpos){
|
arrayClone: function(type,src,srcpos,endpos,dst,dstpos){
|
||||||
// type: 0 for references, "refset" for calling refSet(), a function for new type()
|
// type: 0 for references, "refset" for calling refSet(), a function for new type()
|
||||||
// src must not be null
|
// src must not be null
|
||||||
|
Loading…
Reference in New Issue
Block a user