mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Merge pull request #679 from webcomponents/remove-url-polyfill
Remove url polyfill
This commit is contained in:
@@ -19,7 +19,7 @@ bundle, using feature detection. The bundles that can be loaded are:
|
||||
- `webcomponents-hi` -- HTML Imports (needed by Safari Tech Preview)
|
||||
- `webcomponents-hi-ce` -- HTML Imports and Custom Elements (needed by Safari 10)
|
||||
- `webcomponents-hi-ce-sd` -- HTML Imports, Custom Elements and Shady DOM/CSS (needed by Safari 9, Firefox, Edge)
|
||||
- `webcomponents-lite` -- HTML Imports, Custom Elements, Shady DOM/CSS and generic platform polyfills (such as URL, Template, ES6 Promise, Constructable events, etc.) (needed by Internet Explorer 11)
|
||||
- `webcomponents-lite` -- HTML Imports, Custom Elements, Shady DOM/CSS and generic platform polyfills (such as Template, ES6 Promise, Constructable events, etc.) (needed by Internet Explorer 11)
|
||||
|
||||
## Browser Support
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"shadydom": "webcomponents/shadydom#master",
|
||||
"shadycss": "webcomponents/shadycss#master",
|
||||
"template": "webcomponents/template#master",
|
||||
"URL": "webcomponents/URL#master",
|
||||
"webcomponents-platform": "webcomponents/webcomponents-platform#master"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,12 +10,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
* Polyfills loaded: HTML Imports, Custom Elements, Shady DOM/Shady CSS, platform polyfills (URL/template)
|
||||
* Polyfills loaded: HTML Imports, Custom Elements, Shady DOM/Shady CSS, platform polyfills, template
|
||||
* Used in: IE 11
|
||||
*/
|
||||
|
||||
import '../bower_components/webcomponents-platform/webcomponents-platform.js'
|
||||
import '../bower_components/URL/url.js'
|
||||
import '../bower_components/template/template.js'
|
||||
import '../bower_components/es6-promise/dist/es6-promise.auto.min.js'
|
||||
import '../bower_components/html-imports/src/html-imports.js'
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
// construct full dependency list
|
||||
var modules = [
|
||||
'../../webcomponents-platform/webcomponents-platform.js',
|
||||
'../../URL/url.js',
|
||||
'../../template/template.js',
|
||||
'../../es6-promise/dist/es6-promise.auto.min.js',
|
||||
'../../html-imports/src/html-imports.js',
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -20,7 +20,7 @@
|
||||
if (!window.customElements || window.customElements.forcePolyfill) {
|
||||
polyfills.push('ce');
|
||||
}
|
||||
if (!('content' in document.createElement('template')) || !window.Promise || !window.URL) {
|
||||
if (!('content' in document.createElement('template')) || !window.Promise) {
|
||||
polyfills.push('pf');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user