Updated repository with latest 'live' tools.

This commit is contained in:
Jorge Perez
2021-08-09 17:44:50 -07:00
parent 753c6ec682
commit 3870a0f78e
7 changed files with 351 additions and 19 deletions
+11
View File
@@ -0,0 +1,11 @@
//Useful extensions to the JavaScript class versions that come with the default ExtendScript version.
if (Array.prototype.getOne==null) Array.prototype.getOne=function(item){ //Extends the Array class with the getOne functions wich
var val = -1;
for(i=0;i<=this.length;i++){
if(this[i]==item){
var val = i;
}
}
return val;
}