@dolphinweex/weex-vue-render 0.2.81 → 0.2.83
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.common.js +5 -4
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -4847,7 +4847,7 @@ var appearWatched = false;
|
|
|
4847
4847
|
*/
|
|
4848
4848
|
var debouncedWatchAppear = debounce(function () {
|
|
4849
4849
|
watchAppear(appearWatched, true);
|
|
4850
|
-
},
|
|
4850
|
+
}, 100);
|
|
4851
4851
|
|
|
4852
4852
|
/**
|
|
4853
4853
|
* if it's a scrollable tag, then watch appear events for it.
|
|
@@ -5867,7 +5867,8 @@ function getImage(weex) {
|
|
|
5867
5867
|
},
|
|
5868
5868
|
|
|
5869
5869
|
render: function render(createElement) {
|
|
5870
|
-
|
|
5870
|
+
const isFlvFile = this.src && this.src.toLowerCase().endsWith('.flv');
|
|
5871
|
+
return createElement(isFlvFile ? "video" : "figure", {
|
|
5871
5872
|
attrs: {
|
|
5872
5873
|
"weex-type": "img",
|
|
5873
5874
|
src: this.checkTrim(this.src),
|
|
@@ -8228,11 +8229,11 @@ var slideMixin = {
|
|
|
8228
8229
|
this._emitScrollEvent('scrollstart');
|
|
8229
8230
|
}
|
|
8230
8231
|
|
|
8231
|
-
setTimeout(() => {
|
|
8232
|
+
// setTimeout(() => {
|
|
8232
8233
|
this$1._throttleEmitScroll(dist, () => {
|
|
8233
8234
|
this$1._emitScrollEvent('scrollend');
|
|
8234
8235
|
});
|
|
8235
|
-
}, THROTTLE_SCROLL_TIME);
|
|
8236
|
+
// }, THROTTLE_SCROLL_TIME);
|
|
8236
8237
|
|
|
8237
8238
|
this._loopShowNodes(step);
|
|
8238
8239
|
|
package/package.json
CHANGED