Skip to content

Commit 544c570

Browse files
authored
Patch - Filter: remove polyfill for String.normalize (wet-boew#9993)
1 parent 1474f6e commit 544c570

4 files changed

Lines changed: 2 additions & 22 deletions

File tree

Gruntfile.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,6 @@ module.exports = (grunt) ->
962962
"openlayers/dist/ol.js"
963963
"proj4/dist/proj4.js"
964964
"side-by-side-improved/jquery.flot.orderBars.js"
965-
"unorm/lib/unorm.js"
966965
]
967966
dest: "<%= coreDist %>/js/deps"
968967
expand: true

package-lock.json

Lines changed: 1 addition & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"mathjax": "^3.2.2",
5252
"openlayers": "github:wet-boew/openlayers-dist#v3.20.3",
5353
"proj4": "2.17.0",
54-
"side-by-side-improved": "github:wet-boew/SideBySideImproved#v1.0.0",
55-
"unorm": "^1.6.0"
54+
"side-by-side-improved": "github:wet-boew/SideBySideImproved#v1.0.0"
5655
},
5756
"devDependencies": {
5857
"@double-great/stylelint-a11y": "^3.0.4",

src/plugins/filter/filter.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,6 @@ var componentName = "wb-filter",
7171
};
7272
}
7373

74-
Modernizr.addTest( "stringnormalize", "normalize" in String );
75-
Modernizr.load( {
76-
test: Modernizr.stringnormalize,
77-
nope: [
78-
"site!deps/unorm" + wb.getMode() + ".js"
79-
]
80-
} );
81-
8274
if ( !elm.id ) {
8375
elm.id = wb.getId();
8476
}

0 commit comments

Comments
 (0)