@tarojs/taro-h5 3.7.0-alpha.1 → 3.7.0-alpha.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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import taro from "./api/taro.js";
2
- export * from "./api/index.js";
3
- export * from "./api/taro.js";
1
+ import taro from "./api/taro";
2
+ export * from "./api/index";
3
+ export * from "./api/taro";
4
4
  export { taro as default };
package/dist/index.esm.js CHANGED
@@ -5099,13 +5099,6 @@ const createWorker = temporarilyNotSupport('createWorker');
5099
5099
  // pollify
5100
5100
  import('intersection-observer');
5101
5101
  class TaroH5IntersectionObserver {
5102
- // selector 的容器节点
5103
- get container() {
5104
- const container = (this._component !== null
5105
- ? (findDOM(this._component) || document)
5106
- : document);
5107
- return container;
5108
- }
5109
5102
  constructor(component, options = {}) {
5110
5103
  // 选项
5111
5104
  this._options = {
@@ -5122,6 +5115,13 @@ class TaroH5IntersectionObserver {
5122
5115
  this._component = component;
5123
5116
  Object.assign(this._options, options);
5124
5117
  }
5118
+ // selector 的容器节点
5119
+ get container() {
5120
+ const container = (this._component !== null
5121
+ ? (findDOM(this._component) || document)
5122
+ : document);
5123
+ return container;
5124
+ }
5125
5125
  createInst() {
5126
5126
  // 去除原本的实例
5127
5127
  this.disconnect();