update bundle js

This commit is contained in:
pengfei.zhou 2020-05-06 16:21:03 +08:00 committed by osborn
parent 8f693b451d
commit c9c99cce06
7 changed files with 19 additions and 18 deletions

View File

@ -1914,8 +1914,7 @@ var List = /** @class */ (function (_super) {
} }
}; };
List.prototype.scrollToItem = function (context, index, config) { List.prototype.scrollToItem = function (context, index, config) {
var _a; var animated = config === null || config === void 0 ? void 0 : config.animated;
var animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
return this.nativeChannel(context, 'scrollToItem')({ index: index, animated: animated, }); return this.nativeChannel(context, 'scrollToItem')({ index: index, animated: animated, });
}; };
List.prototype.reset = function () { List.prototype.reset = function () {

View File

@ -1420,8 +1420,7 @@ class List extends Superview {
} }
} }
scrollToItem(context, index, config) { scrollToItem(context, index, config) {
var _a; const animated = config === null || config === void 0 ? void 0 : config.animated;
const animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
return this.nativeChannel(context, 'scrollToItem')({ index, animated, }); return this.nativeChannel(context, 'scrollToItem')({ index, animated, });
} }
reset() { reset() {

View File

@ -1705,7 +1705,7 @@ var doric = (function (exports) {
(module.exports = function (key, value) { (module.exports = function (key, value) {
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
})('versions', []).push({ })('versions', []).push({
version: '3.6.4', version: '3.6.5',
mode: 'global', mode: 'global',
copyright: '© 2020 Denis Pushkarev (zloirock.ru)' copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
}); });
@ -6489,7 +6489,13 @@ var doric = (function (exports) {
defer = functionBindContext(port.postMessage, port, 1); defer = functionBindContext(port.postMessage, port, 1);
// Browsers with postMessage, skip WebWorkers // Browsers with postMessage, skip WebWorkers
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object' // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
} else if (global_1.addEventListener && typeof postMessage == 'function' && !global_1.importScripts && !fails(post)) { } else if (
global_1.addEventListener &&
typeof postMessage == 'function' &&
!global_1.importScripts &&
!fails(post) &&
location.protocol !== 'file:'
) {
defer = post; defer = post;
global_1.addEventListener('message', listener, false); global_1.addEventListener('message', listener, false);
// IE8- // IE8-
@ -9861,7 +9867,7 @@ var doric = (function (exports) {
var INVALID_PORT = 'Invalid port'; var INVALID_PORT = 'Invalid port';
var ALPHA = /[A-Za-z]/; var ALPHA = /[A-Za-z]/;
var ALPHANUMERIC = /[\d+\-.A-Za-z]/; var ALPHANUMERIC = /[\d+-.A-Za-z]/;
var DIGIT = /\d/; var DIGIT = /\d/;
var HEX_START = /^(0x|0X)/; var HEX_START = /^(0x|0X)/;
var OCT = /^[0-7]+$/; var OCT = /^[0-7]+$/;
@ -11672,8 +11678,8 @@ var doric = (function (exports) {
if (cleanup != null) { subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function' if (cleanup != null) { subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function'
? function () { subscription.unsubscribe(); } ? function () { subscription.unsubscribe(); }
: aFunction$1(cleanup); } : aFunction$1(cleanup); }
} catch (error) { } catch (error$1) {
subscriptionObserver.error(error); subscriptionObserver.error(error$1);
return; return;
} if (subscriptionClosed(subscriptionState)) { cleanupSubscription(subscriptionState); } } if (subscriptionClosed(subscriptionState)) { cleanupSubscription(subscriptionState); }
}; };
@ -13173,7 +13179,7 @@ var doric = (function (exports) {
// some Chrome versions have non-configurable methods on DOMTokenList // some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype$1[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) { try { if (CollectionPrototype$1[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) { try {
createNonEnumerableProperty(CollectionPrototype$1, METHOD_NAME, es_array_iterator[METHOD_NAME]); createNonEnumerableProperty(CollectionPrototype$1, METHOD_NAME, es_array_iterator[METHOD_NAME]);
} catch (error) { } catch (error$1) {
CollectionPrototype$1[METHOD_NAME] = es_array_iterator[METHOD_NAME]; CollectionPrototype$1[METHOD_NAME] = es_array_iterator[METHOD_NAME];
} } } }
} } } }

View File

@ -2879,8 +2879,7 @@ class List extends Superview {
} }
} }
scrollToItem(context, index, config) { scrollToItem(context, index, config) {
var _a; const animated = config === null || config === void 0 ? void 0 : config.animated;
const animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
return this.nativeChannel(context, 'scrollToItem')({ index, animated, }); return this.nativeChannel(context, 'scrollToItem')({ index, animated, });
} }
reset() { reset() {

View File

@ -48,8 +48,7 @@ export class List extends Superview {
} }
} }
scrollToItem(context, index, config) { scrollToItem(context, index, config) {
var _a; const animated = config === null || config === void 0 ? void 0 : config.animated;
const animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
return this.nativeChannel(context, 'scrollToItem')({ index, animated, }); return this.nativeChannel(context, 'scrollToItem')({ index, animated, });
} }
reset() { reset() {

View File

@ -2937,8 +2937,7 @@ class List extends Superview {
} }
} }
scrollToItem(context, index, config) { scrollToItem(context, index, config) {
var _a; const animated = config === null || config === void 0 ? void 0 : config.animated;
const animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
return this.nativeChannel(context, 'scrollToItem')({ index, animated, }); return this.nativeChannel(context, 'scrollToItem')({ index, animated, });
} }
reset() { reset() {
@ -4199,7 +4198,7 @@ return __module.exports;
var doric_web = (function (exports, axios, sandbox) { var doric_web = (function (exports, axios, sandbox) {
'use strict'; 'use strict';
axios = axios && axios.hasOwnProperty('default') ? axios['default'] : axios; axios = axios && Object.prototype.hasOwnProperty.call(axios, 'default') ? axios['default'] : axios;
class DoricPlugin { class DoricPlugin {
constructor(context) { constructor(context) {

File diff suppressed because one or more lines are too long