mirror of
https://github.com/sbrow/ps.git
synced 2026-02-28 03:01:43 -05:00
Minor Improvements
* Made Refresh() more robust - when an error is encountered, the layer(set) is reloaded automatically. * JS errors are now output to console instead of alerts.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include lib.js
|
||||
|
||||
app.displayDialogs=DialogModes.NO
|
||||
var stdout = newFile(arguments[0]);
|
||||
var lyr = eval(arguments[1]);
|
||||
stdout.write(('{"Name":"' + lyr.name + '","Bounds":[[' + lyr.bounds[0] + ',' +
|
||||
|
||||
Reference in New Issue
Block a user