Skip to content
This repository was archived by the owner on Dec 11, 2018. It is now read-only.

ES-Collection/Jaxon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jaxon

Jaxon is an ExtendScript Preset Manager that uses JSON-schemas to keep presets validated. It also makes it easy to load and save presets to the user data-folder in JSON format.

Usage

  1. Include jaxon.jsxinc into your script using the preprocessor directive:

    #include jaxon.jsxinc

  2. Create a new Preset Manager with your JSON-Schema:

    var Jaxon = new presetManager( "file_name.json", Schema);

  3. Create get() and set() functions that move data in and out of your interface and attach them to your DataPort

    var myDataPort = { getData: get, renderData: set }

  4. Now attach the widget to your interface:

    Jaxon.Widget.attachTo( Window, KeyID, myDataPort );

Resources

Dependencies

All dependencies and polyfills are included. You can exclude them by running make dependent this will exclude the following dependencies:

Requests

Bugs and feature requests are tracked with the github issue tracker. Pull requests are welcome!

Licence

MIT license (MIT)