Skip to content

Commit

Permalink
更新了ES5下的资源
Browse files Browse the repository at this point in the history
  • Loading branch information
a_small_tree_of_joy committed Sep 28, 2018
1 parent e508a4c commit e7655c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions dist/JS/openlayers_echart.es5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
Expand Down Expand Up @@ -58,7 +62,7 @@ var ADLayer = function () {
}, {
key: '_bindEvent',
value: function _bindEvent() {
this._map.on('pointerdrag', this._moveHandler("onMoveEnd"));
this._map.on('postrender', this._moveHandler("onMoveEnd"));
this._map.getView().on('change:resolution', this._moveHandler("onMoveEnd"));
}
}, {
Expand Down Expand Up @@ -365,5 +369,4 @@ ADLayer.Element = {
}
};

// window["ADLayer"] = ADLayer;
// export default ADLayer;
exports.default = ADLayer;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openlayers_echart",
"version": "1.0.4",
"version": "1.0.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e7655c0

Please sign in to comment.