mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-16 16:14:17 +08:00
新增 showDevTools
This commit is contained in:
7
plugin/lib/sandbox.js
Normal file
7
plugin/lib/sandbox.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const nodeFns = require("./nodeFns")
|
||||
window._ = require("lodash")
|
||||
window.utools = require("./utoolsLite")()
|
||||
|
||||
Object.keys(nodeFns).forEach(key => {
|
||||
window[key] = nodeFns[key]
|
||||
})
|
||||
Reference in New Issue
Block a user