Switched line endings to Unix-like on all scripts

This commit is contained in:
2015-03-19 12:27:58 -07:00
parent 2d6983e014
commit e07df6d9d4
18 changed files with 1797 additions and 1567 deletions
+24 -24
View File
@@ -1,24 +1,24 @@
if (AVLayer.prototype. getPins==null) AVLayer.prototype. getPins=function(){ //Extends the AVLayer class with the getPinsfunctions which returns the Layer's property groups which are pins.
this.selectedPins = [];
for(prop=0;prop<this.selectedProperties.length;prop++){
p= this.selectedProperties[prop];
if(p.matchName=="ADBE FreePin3 PosPin Atom"){
this.selectedPins.push(p);
}
}
return this.selectedPins;
}
function yMkUnique(aString){
myLayers = app.project.activeItem.layers;
uniqueness = 1;
for(i=1;i<=myLayers.length;i++){
if(aString == myLayers[i].name){
uniqueness++;
}
}
return(aString+'_'+uniqueness);
}
s = 'asdas_1';
alert(s.length);
alert(yMkUnique('apple'))
if (AVLayer.prototype. getPins==null) AVLayer.prototype. getPins=function(){ //Extends the AVLayer class with the getPinsfunctions which returns the Layer's property groups which are pins.
this.selectedPins = [];
for(prop=0;prop<this.selectedProperties.length;prop++){
p= this.selectedProperties[prop];
if(p.matchName=="ADBE FreePin3 PosPin Atom"){
this.selectedPins.push(p);
}
}
return this.selectedPins;
}
function yMkUnique(aString){
myLayers = app.project.activeItem.layers;
uniqueness = 1;
for(i=1;i<=myLayers.length;i++){
if(aString == myLayers[i].name){
uniqueness++;
}
}
return(aString+'_'+uniqueness);
}
s = 'asdas_1';
alert(s.length);
alert(yMkUnique('apple'))