Can now save and load from json

Much improved speed over loading everything manually.
This commit is contained in:
Unknown
2018-03-22 20:11:51 -04:00
parent daac5bf3d2
commit 5b36b9193a
8 changed files with 264 additions and 90 deletions

1
ps.go
View File

@@ -184,7 +184,6 @@ func ApplyDataset(name string) ([]byte, error) {
func JSLayer(path string) string {
path = strings.TrimLeft(path, "/")
pth := strings.Split(path, "/")
// fmt.Println(path)
js := "app.activeDocument"
last := len(pth) - 1
if last > 0 {