Commit Graph

303 Commits

Author SHA1 Message Date
Monica Dinculescu
bbf8d264d4 delete unused files for (i think) building 2016-12-14 13:35:01 -08:00
Monica Dinculescu
4c138da6a9 fix template/url deps names 2016-12-14 13:07:54 -08:00
Monica Dinculescu
968bf0b5a4 replace Template.js with webcomponents/template 2016-12-14 12:37:03 -08:00
Monica Dinculescu
8d16d8cc4a replace URL.js with webcomponentsjs/URL 2016-12-14 11:43:41 -08:00
Monica Dinculescu
8a0b6a95ab delele legacy takeRecords 2016-12-13 17:11:07 -08:00
Monica Dinculescu
71e837771d delete ShadowDOM/ShadowCSS, piss off all the tests 2016-12-13 17:10:23 -08:00
Monica Dinculescu
ad9400cc5a replace lang.js/dom.js with webcomponents-platform 2016-12-13 16:53:52 -08:00
Monica Dinculescu
352c1cb711 delete WeakMap 2016-12-13 16:49:38 -08:00
Monica Dinculescu
579b3665e6 paths have meanings 2016-12-13 16:35:14 -08:00
Monica Dinculescu
ab21a42c01 delete MutationObserver polyfill 2016-12-13 15:52:04 -08:00
Monica Dinculescu
1a9f2c6b1a replace Promise.js with es6-polyfill 2016-12-13 15:36:12 -08:00
Kevin Schaaf
d133399dc7 Fix strict mode error on older Safari. 2016-12-01 17:02:34 -08:00
Steven Orvell
130ecb3bf3 move ES6 polyfills into lang 2016-12-01 11:13:12 -08:00
Steven Orvell
ff87ab9681 fix indentation 2016-12-01 10:39:21 -08:00
Steven Orvell
572e8c223e Enhance compatibility with IE by including a Promise polyfill and some minor ES6 methods. 2016-11-30 14:39:13 -08:00
Kevin Schaaf
41898d4c06 Allow forcing CE polyfill via script. 2016-10-24 16:55:37 -07:00
Steven Orvell
73b21497cd Load external polyfills in webcomponents-lite.js. Thread web components flags to polyfills. 2016-09-08 13:18:46 -07:00
Daniel Freedman
1518c1b371 CustomElements split out into webcomponents/custom-elements
Update package.json, gulpfile, and tests
2016-09-08 12:19:32 -07:00
Justin Fagnani
c48d295295 Define window.customElements with defineProperty 2016-09-07 15:33:44 -07:00
Justin Fagnani
c60aef5d26 Move built-in HTMLElement subclass prototype patching to separate file 2016-09-06 16:28:03 -07:00
Justin Fagnani
fe5251632c isConnected() returns true for elements in any Document, not just the main document.
connectedCallback() should be called in HTML imports.
2016-09-06 16:23:03 -07:00
Justin Fagnani
f3e5a4b111 CustomElementsRegistry -> CustomElementRegistry 2016-09-06 16:13:05 -07:00
Justin Fagnani
4ec8435396 Custom element names must be lower case 2016-09-06 16:11:08 -07:00
Justin Fagnani
e19b82e292 Add build and test instructions to README 2016-09-06 13:37:21 -07:00
Justin Fagnani
ee6324a0b2 Consolidate producing name errors 2016-09-06 10:42:23 -07:00
Justin Fagnani
0dd8343aaa Use isValidCustomElementName in whenDefined 2016-09-06 10:32:21 -07:00
Justin Fagnani
d50d543e89 Simplify logic for adding flush() to native customElements 2016-09-06 10:26:11 -07:00
Justin Fagnani
6e4a951ddd Actually use the constants to access per-element state 2016-09-06 10:25:31 -07:00
Justin Fagnani
9ac84da0bf Make a getter for the current customElements registry 2016-09-06 10:12:50 -07:00
Justin Fagnani
e984474589 var -> const or let 2016-09-03 09:27:22 -07:00
Justin Fagnani
45808b97ad Convert CustomElementsRegistry to a class 2016-09-02 21:44:55 -07:00
Justin Fagnani
dbb5381e6f Defer upgrades until HTML Imports have loaded 2016-09-02 17:15:47 -07:00
Justin Fagnani
ef8a56d7f0 Use better property names for Element expando properties 2016-09-02 16:53:57 -07:00
Justin Fagnani
0dc1ca4002 Add sync setAttribute, removeAttribute, and importNode 2016-09-02 16:48:08 -07:00
Alexader
70fbea769d Fix property declaration from constructor, to constructor: 2016-08-31 22:45:22 +03:00
Justin Fagnani
e0562209b2 Fix prototype for HTMLElement in the native-shim 2016-08-30 00:44:05 -07:00
Justin Fagnani
983d7d34fe Make HTMLElement.prototype.constructor configurable and writable 2016-08-30 00:29:36 -07:00
Justin Fagnani
217e2dccf7 Don’t read observedAttributed if there’s no attributeChangedCallback 2016-08-30 00:06:04 -07:00
Justin Fagnani
12f51009c1 Add WebComponentsReady event 2016-08-29 23:47:55 -07:00
Justin Fagnani
5f1c3dc047 Use Closure’s new type inference. 2016-08-29 14:57:40 -07:00
Justin Fagnani
0ff6ec4830 Add a lot more type annotations 2016-08-29 12:45:00 -07:00
Justin Fagnani
c2b88fac4a Small review fixes 2016-08-23 16:21:57 -07:00
Justin Fagnani
b0a8b8fb6e Test compiled code and fix tests on compiled code. 2016-08-23 16:21:57 -07:00
Justin Fagnani
0ed69c7298 Some updates to the CEv1 README 2016-08-23 16:21:57 -07:00
Justin Fagnani
e384a1c094 Check that elements are in the document before calling connectedCallback 2016-08-23 16:21:57 -07:00
Justin Fagnani
7b62605feb WIP: better tests for connectedCallback 2016-08-23 16:21:57 -07:00
Justin Fagnani
7418fc35c4 Add some comments 2016-08-23 16:21:57 -07:00
Justin Fagnani
08cd8aa733 Better de-duplication of HTML Import handling 2016-08-23 16:21:57 -07:00
Justin Fagnani
55b4783df3 WIP fix imports in safari 2016-08-23 16:21:57 -07:00
Justin Fagnani
5f14192d52 fixup! Don’t polyfill when native implementation exists. Add non-op customElements.flush() on native CustomElements. Allow forcing of polyfill over native. 2016-08-23 16:21:53 -07:00