mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 15:47:55 -05:00
Fix IE caniuse conflict for svgasimg (#2397)
* Fix test for siblinggeneral
* Update dependencies
* Update dependencies
* Update dependencies
* Fix #2386, test doesnt like https urls
* Update dependencies
* Revert "Fix test for siblinggeneral"
This reverts commit 2971f0429a.
This commit is contained in:
@@ -20,8 +20,8 @@ define(['Modernizr', 'addTest'], function(Modernizr) {
|
||||
// Now a Sync test based on good results here
|
||||
// https://codepen.io/chriscoyier/pen/bADFx
|
||||
|
||||
// Note https://www.w3.org/TR/SVG11/feature#Image is *supposed* to represent
|
||||
// Note http://www.w3.org/TR/SVG11/feature#Image is *supposed* to represent
|
||||
// support for the `<image>` tag in SVG, not an SVG file linked from an `<img>`
|
||||
// tag in HTML – but it’s a heuristic which works
|
||||
Modernizr.addTest('svgasimg', document.implementation.hasFeature('https://www.w3.org/TR/SVG11/feature#Image', '1.1'));
|
||||
Modernizr.addTest('svgasimg', document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#Image', '1.1'));
|
||||
});
|
||||
|
||||
582
package-lock.json
generated
582
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -6,19 +6,19 @@
|
||||
"test": "test"
|
||||
},
|
||||
"dependencies": {
|
||||
"doctrine": "^2.1.0",
|
||||
"doctrine": "^3.0.0",
|
||||
"file": "^0.2.2",
|
||||
"find-parent-dir": "^0.3.0",
|
||||
"lodash": "^4.17.11",
|
||||
"mkdirp": "^0.5.1",
|
||||
"remarkable": "^1.7.1",
|
||||
"requirejs": "^2.3.6",
|
||||
"yargs": "^12.0.2"
|
||||
"yargs": "^12.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alrra/travis-scripts": "^3.0.1",
|
||||
"eslint": "^5.7.0",
|
||||
"eslint-plugin-jsdoc": "^3.9.0",
|
||||
"eslint": "^5.12.0",
|
||||
"eslint-plugin-jsdoc": "^3.15.1",
|
||||
"expect.js": "^0.3.1",
|
||||
"grunt": "^1.0.3",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
@@ -31,8 +31,8 @@
|
||||
"grunt-istanbul": "^0.8.0",
|
||||
"grunt-mocha": "0.4.15",
|
||||
"grunt-mocha-test": "^0.13.3",
|
||||
"grunt-saucelabs": "^9.0.0",
|
||||
"joi": "^14.0.0",
|
||||
"grunt-saucelabs": "^9.0.1",
|
||||
"joi": "^14.3.1",
|
||||
"jquery": "3.2.1",
|
||||
"json3": "^3.3.2",
|
||||
"load-grunt-tasks": "^4.0.0",
|
||||
@@ -40,7 +40,7 @@
|
||||
"proxyquire": "^2.1.0",
|
||||
"serve-static": "^1.13.2",
|
||||
"sinon": "2.4.1",
|
||||
"ua-parser-js": "^0.7.18"
|
||||
"ua-parser-js": "^0.7.19"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "grunt default",
|
||||
|
||||
Reference in New Issue
Block a user