@etspress/netflix 0.1.6 → 0.1.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etspress/netflix",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "description": "流媒体合租主题插件",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "id": "netflix",
19
19
  "name": "流媒体合租主题",
20
20
  "description": "流媒体合租商店主题与页面展示配置",
21
- "version": "0.1.6",
21
+ "version": "0.1.7",
22
22
  "runtime": {
23
23
  "type": "npm-static",
24
24
  "publicRoot": "public"
package/plugin.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "schemaVersion": 1,
4
4
  "id": "netflix",
5
5
  "name": "流媒体合租主题",
6
- "version": "0.1.6",
6
+ "version": "0.1.7",
7
7
  "description": "流媒体合租商店主题与页面展示配置。",
8
8
  "author": "D&J Studio",
9
9
  "license": "MIT",
package/public/console.js CHANGED
@@ -715,6 +715,8 @@
715
715
  });
716
716
  }
717
717
 
718
+ window.__NETFLIX_THEME_ROUTE_CHANGE__ = routeChanged;
719
+ window.__NETFLIX_THEME_RELEASE__ = clearPage;
718
720
  timer = setInterval(routeChanged, 400);
719
721
  window.addEventListener('popstate', routeChanged);
720
722
  window.addEventListener('pagehide', function () { sequence++; clearInterval(timer); clearPage(); });
package/public/home.js CHANGED
@@ -511,6 +511,7 @@
511
511
  }).catch(function () { if (!root) releaseHomeGate(); });
512
512
  }
513
513
 
514
+ window.__NETFLIX_THEME_HOME_ROUTE_SYNC__ = syncRoute;
514
515
  window.addEventListener('popstate', syncRoute);
515
516
  window.addEventListener('hashchange', syncRoute);
516
517
  checkPlugin();