|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
const codePath = module.modulePath.slice(0, module.modulePath.lastIndexOf("/") + 1); |
|
|
|
|
log(codePath); |
|
|
|
|
const JSEngine = com.example.hikerview.service.parser.JSEngine; |
|
|
|
|
const drpyMap = new Map(); |
|
|
|
|
const GMkey = module.importParam; |
|
|
|
@ -198,7 +199,7 @@ function createDrpy(sdata) { |
|
|
|
|
Function.prototype.toString = function () { |
|
|
|
|
return $toString.apply(this).trim(); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
$.require.cache.delete($.require.resolve(codePath +'drpy/drpy2.js')); |
|
|
|
|
let drpy2 = $.require(codePath +'drpy/drpy2.js'); |
|
|
|
|
GM.has(GMkey, (DrpyManage) => { |
|
|
|
|
DrpyManage.put(sdata.key, drpy2); |
|
|
|
|