Skip to content

Commit

Permalink
build: package
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Jul 2, 2018
1 parent 55d557e commit 9859ea1
Show file tree
Hide file tree
Showing 101 changed files with 54,811 additions and 22,802 deletions.
2 changes: 1 addition & 1 deletion lib/action-sheet/action-sheet.min.js

Large diffs are not rendered by default.

975 changes: 504 additions & 471 deletions lib/action-sheet/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/better-scroll/better-scroll.min.js

Large diffs are not rendered by default.

40 changes: 33 additions & 7 deletions lib/better-scroll/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ module.exports =
/******/ __webpack_require__.p = "./";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 228);
/******/ return __webpack_require__(__webpack_require__.s = 250);
/******/ })
/************************************************************************/
/******/ ({

/***/ 228:
/***/ 250:
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
if (true) {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(91)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(88)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
Expand Down Expand Up @@ -105,13 +105,13 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

/***/ }),

/***/ 91:
/***/ 88:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/*!
* better-normal-scroll v1.12.0
* better-normal-scroll v1.12.4
* (c) 2016-2018 ustbhuangyi
* Released under the MIT License.
*/
Expand Down Expand Up @@ -909,6 +909,7 @@ function initMixin(BScroll) {
};

BScroll.prototype.refresh = function () {
var isWrapperStatic = window.getComputedStyle(this.wrapper, null).position === 'static';
var wrapperRect = getRect(this.wrapper);
this.wrapperWidth = wrapperRect.width;
this.wrapperHeight = wrapperRect.height;
Expand All @@ -920,6 +921,11 @@ function initMixin(BScroll) {
this.relativeX = scrollerRect.left;
this.relativeY = scrollerRect.top;

if (isWrapperStatic) {
this.relativeX -= wrapperRect.left;
this.relativeY -= wrapperRect.top;
}

this.minScrollX = 0;
this.minScrollY = 0;

Expand Down Expand Up @@ -1317,7 +1323,7 @@ function coreMixin(BScroll) {
return;
}

this.scrollTo(newX, newY);
this._translate(newX, newY);

this.endTime = getNow();
var duration = this.endTime - this.startTime;
Expand Down Expand Up @@ -1570,6 +1576,11 @@ function coreMixin(BScroll) {
me.isAnimating = false;
me._translate(destX, destY, destScale);

me.trigger('scroll', {
x: me.x,
y: me.y
});

if (!me.pulling && !me.resetPosition(me.options.bounceTime)) {
me.trigger('scrollEnd', {
x: me.x,
Expand Down Expand Up @@ -1628,6 +1639,21 @@ function coreMixin(BScroll) {
this._startProbe();
}

if (!time && (x !== this.x || y !== this.y)) {
this.trigger('scroll', {
x: x,
y: y
});
// force reflow to put everything in position
this._reflow = document.body.offsetHeight;
if (!this.resetPosition(this.options.bounceTime, ease.bounce)) {
this.trigger('scrollEnd', {
x: x,
y: y
});
}
}

if (this.options.wheel) {
if (y > this.minScrollY) {
this.selectedIndex = 0;
Expand Down Expand Up @@ -3392,7 +3418,7 @@ mouseWheelMixin(BScroll);
zoomMixin(BScroll);
infiniteMixin(BScroll);

BScroll.Version = '1.12.0';
BScroll.Version = '1.12.4';

/* harmony default export */ __webpack_exports__["default"] = (BScroll);

Expand Down
2 changes: 1 addition & 1 deletion lib/button/button.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions lib/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ module.exports =
/******/ __webpack_require__.p = "./";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 229);
/******/ return __webpack_require__(__webpack_require__.s = 251);
/******/ })
/************************************************************************/
/******/ ({

/***/ 141:
/***/ 149:
/***/ (function(module, exports, __webpack_require__) {

function injectStyle (ssrContext) {
__webpack_require__(142)
__webpack_require__(150)
}
var Component = __webpack_require__(8)(
/* script */
__webpack_require__(143),
__webpack_require__(151),
/* template */
__webpack_require__(144),
__webpack_require__(152),
/* styles */
injectStyle,
/* scopeId */
Expand All @@ -90,14 +90,14 @@ module.exports = Component.exports

/***/ }),

/***/ 142:
/***/ 150:
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ 143:
/***/ 151:
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
Expand Down Expand Up @@ -189,7 +189,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

/***/ }),

/***/ 144:
/***/ 152:
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
Expand All @@ -209,12 +209,12 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c

/***/ }),

/***/ 229:
/***/ 251:
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
if (true) {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(141)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(149)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
Expand Down
6 changes: 3 additions & 3 deletions lib/cascade-picker/cascade-picker.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9859ea1

Please sign in to comment.