Skip to content

Commit

Permalink
v1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Mar 10, 2017
2 parents 78addc2 + df119bc commit a0f2f33
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ libpeerconnection.log
selenium
coverage
*.log
.vscode
7 changes: 4 additions & 3 deletions dist/angular-openlayers-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -2185,9 +2185,10 @@ angular.module('openlayers-directive').factory('olHelpers', ["$q", "$log", "$htt
for (var property in layer) {
if (layer.hasOwnProperty(property) &&
// ignore props like source or those angular might add (starting with $)
!property.startsWith('$') &&
!property.startsWith('source') &&
!property.startsWith('style')
// don't use startsWith as it is not supported in IE
property.indexOf('$', 0) !== 0 &&
property.indexOf('source', 0) !== 0 &&
property.indexOf('style', 0) !== 0
) {
layerConfig[property] = layer[property];
}
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-openlayers-directive.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/angular-openlayers-directive.min.no-header.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/angular-openlayers-directive.pre.js
Original file line number Diff line number Diff line change
Expand Up @@ -2185,9 +2185,10 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
for (var property in layer) {
if (layer.hasOwnProperty(property) &&
// ignore props like source or those angular might add (starting with $)
!property.startsWith('$') &&
!property.startsWith('source') &&
!property.startsWith('style')
// don't use startsWith as it is not supported in IE
property.indexOf('$', 0) !== 0 &&
property.indexOf('source', 0) !== 0 &&
property.indexOf('style', 0) !== 0
) {
layerConfig[property] = layer[property];
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"main": "dist/angular-openlayers-directive",
"version": "1.19.1"
"version": "1.19.2"
}
7 changes: 4 additions & 3 deletions src/services/olHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,10 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
for (var property in layer) {
if (layer.hasOwnProperty(property) &&
// ignore props like source or those angular might add (starting with $)
!property.startsWith('$') &&
!property.startsWith('source') &&
!property.startsWith('style')
// don't use startsWith as it is not supported in IE
property.indexOf('$', 0) !== 0 &&
property.indexOf('source', 0) !== 0 &&
property.indexOf('style', 0) !== 0
) {
layerConfig[property] = layer[property];
}
Expand Down

0 comments on commit a0f2f33

Please sign in to comment.