Skip to content

module_SJSParser

Wesley de Groot edited this page Nov 19, 2015 · 4 revisions

_.js's Simple JavaScript ParserBeta


Commands:

SJSParser Command JavaScript Command
log (window.)console.log
error (window.)console.error

Add Custom command (Plugin makers)Beta (Not done)

if (typeof window._.SJSParser !== 'undefined') {
  window._.SJSParser.extend({command: 'myCmd', exec: 'mySuperCommand'});
}
Clone this wiki locally