UNPKG

@extendscript/sui.module.jaxon

Version:
20 lines (16 loc) 984 B
#include "../node_modules/@extendscript/modules.init/init.js" #include '../node_modules/@extendscript/aes.patch.array.foreach/foreach.js' #include '../node_modules/@extendscript/aes.patch.array.indexof/indexof.js' #include '../node_modules/@extendscript/aes.patch.array.isarray/isarray.js' #include '../node_modules/@extendscript/aes.patch.object.keys/keys.js' #include '../node_modules/@extendscript/aes.patch.json/json.js' #include '../node_modules/@extendscript/aes.patch.json.clone/clone.js' #include '../node_modules/@extendscript/aes.patch.json.instantiate/instantiate.js' #include '../node_modules/@extendscript/aes.patch.json.validate/validate.js' #include '../node_modules/@extendscript/aes.util.jaw/jaw.js' #include '../jaxon.js' #include './jaxonLoader.js' // Conatains test-data // Load fresh instance of Jaxon var Manager = Jaxon.init(testFileName, Schema, standardPresets); Manager.Presets.removeWhere('bool', false); $.writeln( Manager.Presets.get().length == 2 );