mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 06:55:25 +00:00
no message
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
const PluginMsg = require("./plugin-msg");
|
||||
module.exports = {
|
||||
id: "event-mgr",
|
||||
testInit(name) {
|
||||
chrome.runtime.connect({name: name})
|
||||
}
|
||||
}
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html style="width: 100%;height: 100%;">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<body style="width: 100%;height: 100%;">
|
||||
<div id="app" style="width: 100%;height: 100%;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
14
CocosCreatorInspector/src/core/plugin-msg.js
Normal file
14
CocosCreatorInspector/src/core/plugin-msg.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
Page: {
|
||||
Inject: "inject.js",
|
||||
Devtools: "devtools.js",
|
||||
Content: "content.js",
|
||||
Popup: "popup.js",
|
||||
Options: "options.js",
|
||||
},
|
||||
Msg: {
|
||||
NodeInfo: "node_info",// 具体的节点信息
|
||||
ListInfo: "list_info",// 节点树信息
|
||||
Support: "game_support",// 游戏支持信息
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user