Permalink
Browse files

compile dist

  • Loading branch information...
matfish2 committed Jul 14, 2018
1 parent 440c91f commit e00574d9bd7311b9dc0c1dcd8ce8e71dafbeb6ec
Showing with 958 additions and 15 deletions.
  1. +1 −1 .babelrc
  2. +7 −4 compiled/RenderlessPagination.js
  3. +2 −1 compiled/bus.js
  4. +3 −1 compiled/config.js
  5. +894 −0 dist/vue-pagination-2.min.js
  6. +41 −3 package-lock.json
  7. +3 −1 package.json
  8. +5 −3 src/RenderlessPagination.js
  9. +2 −1 webpack.config.js
View
@@ -1,4 +1,4 @@
{
"presets": ["es2015"],
"plugins": ["transform-vue-jsx","transform-object-rest-spread", "add-module-exports"]
"plugins": ["transform-vue-jsx","transform-with", "transform-object-rest-spread", "add-module-exports"]
}
@@ -225,7 +225,7 @@ exports.default = {
this.$emit('paginate', page);
if (this.For) {
if (this.For && bus) {
bus.$emit('vue-pagination::' + this.For, page);
}
@@ -290,8 +290,10 @@ exports.default = {
}
},
beforeDestroy: function beforeDestroy() {
bus.$off();
bus.$destroy();
if (bus) {
bus.$off();
bus.$destroy();
}
}
};
@@ -300,4 +302,5 @@ function range(start, count) {
return Array.apply(0, Array(count)).map(function (element, index) {
return index + start;
});
}
}
module.exports = exports['default'];
View
@@ -12,4 +12,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
var bus = new _vue2.default();
exports.default = bus;
exports.default = bus;
module.exports = exports['default'];
View
@@ -21,4 +21,6 @@ exports.default = function () {
prevChunk: '<<'
}
};
};
};
module.exports = exports['default'];
Oops, something went wrong.

0 comments on commit e00574d

Please sign in to comment.