mirror of
https://github.com/sbrow/ps.git
synced 2025-12-29 18:47:38 -05:00
V2.0 update
## Features ### Open * Now returns the activeDocument after opening the file. ### JSLayer() * Removed semicolon from output. ### Document * Added FullName() which returns path to the .psd file. * Changed Filename() to DumpFile(), as Filename was misleading. * Dump function now saves the file as well, to help reduce the frequency of de-syncs. * Dump function now saves json files alongside the .psds instead of in a separate data folder- encountered issues when using the package as a module in go 1.11beta2. * Added Save() ## Testing * Added TestDocument_Save * Added TestDocument_Dump ## Misc. * Renamed pkgpath to pkgPath, to better fit go's standards. ## Fixes * DoAction now runs correctly.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||

|
||||
|
||||
# ps
|
||||
[](https://godoc.org/github.com/sbrow/ps) [](https://travis-ci.org/sbrow/ps) [](https://coveralls.io/github/sbrow/ps?branch=master) [](https://goreportcard.com/report/github.com/sbrow/ps)
|
||||
|
||||
`import "github.com/sbrow/ps"`
|
||||
@@ -39,12 +39,10 @@ $ go get -u github.com/sbrow/ps
|
||||
|
||||
`sbrow:` (2) Make TextLayer a subclass of ArtLayer.
|
||||
|
||||
`sbrow:` Reduce cylcomatic complexity of ActiveDocument().
|
||||
`sbrow:` Reduce cyclomatic complexity of ActiveDocument().
|
||||
|
||||
`sbrow:` refactor Close to Document.Close
|
||||
|
||||
`sbrow:` get rid of the semicolon at the end of JSLayer.
|
||||
|
||||
## <a name="pkg-doc">Documentation</a>
|
||||
For full Documentation please visit https://godoc.org/github.com/sbrow/ps
|
||||
- - -
|
||||
|
||||
Reference in New Issue
Block a user