Changeset 69
- Timestamp:
- 07/22/08 07:09:11 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lily/lily/chrome/content/externals/thispatch.js
r1 r69 87 87 this.inlet1["path"]=function() { 88 88 var file = doCommand("getPatchFile()"); 89 if(file .exists()) {89 if(file && file.exists()) { 90 90 thisPtr.outlet1.doOutlet(file.path); 91 } else { 92 thisPtr.outlet1.doOutlet("bang"); 91 93 } 92 94 } … … 94 96 this.inlet1["parentPath"]=function() { 95 97 var file = doCommand("getPatchDir()"); 96 if(file .exists()) {98 if(file && file.exists()) { 97 99 thisPtr.outlet1.doOutlet(file.path); 100 } else { 101 thisPtr.outlet1.doOutlet("bang"); 98 102 } 99 103 }
