Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Dec 19, 2016
1 parent 397fda7 commit ddd8e22
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 26 deletions.
12 changes: 10 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"plugins": ["dev-expression", "lodash", "transform-proto-to-assign"],
"presets": [ ["es2015", { "loose" : true} ], "react", "stage-0"]
"plugins": [
"dev-expression",
"lodash",
"transform-proto-to-assign"
],
"presets": [
["es2015", {"loose" : true}],
"react",
"stage-1"
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.0.2 (2016-12-19)

Fixed binding events in `FeatureGroup`.

## v1.0.1 (2016-11-26)

- Fixed updating `opacity` and `zIndex` in `WMSTileLayer` ([PR #259 ](https://github.com/PaulLeCam/react-leaflet/pull/259) by *YannickBochatay*).
Expand Down
21 changes: 11 additions & 10 deletions dist/react-leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3722,16 +3722,16 @@ return /******/ (function(modules) { // webpackBootstrap
/* 105 */
/***/ function(module, exports) {

module.exports = function(module) {
if(!module.webpackPolyfill) {
module.deprecate = function() {};
module.paths = [];
// module.parent = undefined by default
module.children = [];
module.webpackPolyfill = 1;
}
return module;
}
module.exports = function(module) {
if(!module.webpackPolyfill) {
module.deprecate = function() {};
module.paths = [];
// module.parent = undefined by default
module.children = [];
module.webpackPolyfill = 1;
}
return module;
}


/***/ },
Expand Down Expand Up @@ -4181,6 +4181,7 @@ return /******/ (function(modules) { // webpackBootstrap
};

FeatureGroup.prototype.componentWillMount = function componentWillMount() {
_Path.prototype.componentWillMount.call(this);
this.leafletElement = (0, _leaflet.featureGroup)(this.getOptions(this.props));
};

Expand Down
6 changes: 3 additions & 3 deletions dist/react-leaflet.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/FeatureGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var FeatureGroup = function (_Path) {
};

FeatureGroup.prototype.componentWillMount = function componentWillMount() {
_Path.prototype.componentWillMount.call(this);
this.leafletElement = (0, _leaflet.featureGroup)(this.getOptions(this.props));
};

Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-leaflet",
"version": "1.0.1",
"version": "1.0.2",
"description": "React components for Leaflet maps",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -46,33 +46,33 @@
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-core": "^6.21.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^17.0.2",
"babel-loader": "^6.2.8",
"babel-jest": "^18.0.0",
"babel-loader": "^6.2.10",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-lodash": "^3.2.10",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-proto-to-assign": "^6.9.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"eslint": "^3.11.0",
"babel-preset-stage-1": "^6.5.0",
"eslint": "^3.12.2",
"eslint-config-standard": "^6.1.0",
"eslint-config-standard-jsx": "^3.1.0",
"eslint-config-standard-react": "^4.1.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-react": "^6.7.1",
"eslint-plugin-react": "^6.8.0",
"eslint-plugin-standard": "^2.0.1",
"flow-bin": "^0.36.0",
"jest-cli": "^17.0.3",
"flow-bin": "^0.37.0",
"jest-cli": "^18.0.0",
"leaflet": "^1.0.2",
"lodash-webpack-plugin": "^0.10.6",
"react": "^15.4.1",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^15.4.1",
"react-transform-hmr": "^1.0.4",
"webpack": "^1.13.1",
"webpack": "^1.14.0",
"webpack-dev-server": "^1.16.1"
},
"jest": {
Expand Down
1 change: 1 addition & 0 deletions src/FeatureGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default class FeatureGroup extends Path {
}

componentWillMount () {
super.componentWillMount()
this.leafletElement = featureGroup(this.getOptions(this.props))
}

Expand Down

0 comments on commit ddd8e22

Please sign in to comment.