UNPKG

extendscript-logger

Version:

Logging for Adobe ExtendScript capable applications.

12 lines (9 loc) 542 B
var Global = Global || {}; Global.extendscriptLoggerRootPath = new File($.fileName).parent; Global.rootPath = Global.rootPath || (typeof(rootPath) != 'undefined' ? rootPath : null) || Global.extendscriptLoggerRootPath; //Load dependencies $.evalFile(Global.rootPath + '/node_modules/extendscript-es5-shim/index.js'); $.evalFile(Global.rootPath + '/node_modules/extendscript-json/index.jsx'); $.evalFile(Global.rootPath + '/node_modules/moment/moment.js'); //Load libraries $.evalFile(Global.extendscriptLoggerRootPath + '/src/Logger.jsx');