dsh-paoding 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 加载机制(借鉴 dsh-better-sidebar,DSH 0.1.1-rc.1 实测通过):
|
|
5
5
|
* - dsh-client-modules 节点半扫描本包 package.json 的 dsh.client 声明 +
|
|
6
6
|
* exports["./client"],把本文件编入 window.__DSH_BOOT__ 并以
|
|
7
|
-
* /plugins/paoding
|
|
7
|
+
* /plugins/dsh-paoding/client.js 服务(图行 id = 包名 dsh-paoding)。
|
|
8
8
|
* - 浏览器内核为 manifest 中每个插件创建 loader 条目并激活,故本文件
|
|
9
9
|
* 必然被拉取执行;__ModuleLoader__.load 的 id 必须等于包名(图行 id)。
|
|
10
10
|
* - factory 内 require() 只解析平台 seed 模块(react / cordis /
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* 数据走同源 /api/paoding/*(Node 半注册,带浏览器信任围栏)。
|
|
26
26
|
*/
|
|
27
27
|
window.__ModuleLoader__.load({
|
|
28
|
-
id: "paoding
|
|
28
|
+
id: "dsh-paoding",
|
|
29
29
|
factory: (require) => {
|
|
30
30
|
var module = { exports: {} };
|
|
31
31
|
var exports = module.exports;
|