add mod name to js print() (#1677)
* add mod name to js print() * add mod name to errors
This commit is contained in:
@@ -5,7 +5,7 @@ const log = function(context, obj){
|
||||
var scriptName = "base.js"
|
||||
var modName = "none"
|
||||
|
||||
const print = text => log(scriptName, text);
|
||||
const print = text => log(modName + "/" + scriptName, text);
|
||||
|
||||
const extendContent = function(classType, name, params){
|
||||
return new JavaAdapter(classType, params, name)
|
||||
|
||||
Reference in New Issue
Block a user