Commit Graph

116 Commits

Author SHA1 Message Date
Daniel Freedman
3ceb98fadf Fix broken call node removal in normalize
removeChild is the correct api
Fixes #145
2015-01-20 11:45:04 -08:00
Steve Orvell
21dc1a2e29 Merge pull request #153 from webcomponents/documentmatches
Document.matches shouldn't be defined.
2015-01-16 12:49:55 -08:00
AJ Ortega
b87c8f4ce0 Document.matches shouldn't be defined.
See https://github.com/webcomponents/webcomponentsjs/issues/12 for
context.
2015-01-16 12:42:47 -08:00
Daniel Freedman
38bcdd15fb prepare for 0.5.3 release 2015-01-14 10:56:55 -08:00
Addy Osmani
e2bac0f0ea Merge pull request #144 from nazar-pc/patch-1
Improve typos
2015-01-05 17:21:28 +00:00
Nazar Mokrynskyi
5f5864dc98 Typo 2015-01-02 13:55:47 +01:00
Nazar Mokrynskyi
fc4189f3cf Typo 2015-01-02 13:52:45 +01:00
John Messerly
d593e39c9f Merge pull request #81 from mysticatea/fixes-70
Fixes #70
2014-12-18 10:17:37 -08:00
Toru Nagashima
a8ea6dbbf8 Merge branch 'master' into fixes-70
Conflicts:
	src/ShadowDOM/wrappers/DOMTokenList.js
2014-12-18 13:59:38 +09:00
John Messerly
6786794b0a Merge pull request #133 from aurelia/master
fix(HTMLImports): HTMLImportsLoaded event dispatch throws error on IE
2014-12-17 17:23:20 -08:00
Rob Eisenberg
edb41baada fix(HTMLImports): use initCustomEvent for HTMLImportsLoaded
This commit switches the api to use initCustomEvent. It also cleans up some quotation inconsistencies.
2014-12-17 16:19:40 -05:00
Rob Eisenberg
3c8db9274a fix(base.js): HTMLImportsLoaded event dispatch throws error on IE
When using a  script loader such as require.js or system.js the HTMLImports polyfill will not load correctly on all versions of IE. It will throw a JavaScript error causing the program to crash. This is caused by the use of `CustomEvent` to dispatch the HTMLImportsLoaded event, which results in `Object doesn't support this function`. By explicitly using the older `createEvent` technique, the bug is fixed.
2014-12-17 14:01:10 -05:00
Steve Orvell
45eed998cc Make an import without an href properly generate an error event. 2014-12-15 17:49:12 -08:00
John Messerly
a82e082cbc Merge pull request #58 from jakemac53/master
Maintain preset flags
2014-12-15 13:59:34 -08:00
John Messerly
816b9859d9 Merge pull request #85 from jakemac53/DOMTokenList
patch DOMTokenList instead of using a wrapper
2014-12-15 09:29:03 -08:00
Scott J. Miles
dd49569170 Merge pull request #125 from timoxley/patch-2
Fix accidental global variable
2014-12-13 13:40:13 -08:00
Scott J. Miles
dc23162710 Merge pull request #124 from timoxley/patch-1
Fix accidental global variable.
2014-12-13 13:39:32 -08:00
Tim Oxley
3020ed7a16 Fix accidental global variable 2014-12-14 05:33:24 +08:00
Tim Oxley
31b229021f Fix accidental global variable. 2014-12-14 05:31:12 +08:00
John Messerly
d83cc676df Merge pull request #87 from jacobrossi/issue51
Fixes #51 - Trident UA sniffing issues with "Edge" mode IE on Windows 10
2014-12-04 15:10:05 -08:00
Jacob Rossi
6f3cdecb79 IE >11 has the CustomEvent constructor (#51) 2014-12-04 14:32:19 -08:00
Jacob Rossi
7a136e182a Merge branch 'master' into issue51 2014-12-04 11:23:44 -08:00
Jacob MacDonald
c2465dd51f remove predeclaration of property and move comment to top 2014-12-03 15:30:36 -08:00
Jacob MacDonald
ec71664bf7 patch DOMTokenList instead of using a wrapper 2014-12-03 15:23:28 -08:00
Scott J. Miles
c82ee292cd Merge pull request #77 from agrieve/patch-1
Make HTMLImports polyfill more robust when assigning baseURI property
2014-12-03 09:43:08 -08:00
Addy Osmani
53309288dd Merge pull request #82 from mysticatea/fixes-a-wrong-test
Fixes a wrong test for HTMLContentElement
2014-12-02 10:49:17 +00:00
Toru Nagashima
3b5ef647b0 Fixes a wrong test for HTMLContentElement 2014-12-02 17:10:20 +09:00
Toru Nagashima
90a449ae27 Fixes #70 2014-12-02 15:33:16 +09:00
agrieve
64b739b0c3 Make HTMLImports polyfill more robust when assigning baseURI property
This came up within the context of Cordova apps (https://github.com/MobileChromeApps/mobile-chrome-apps/issues/450)

On iOS, doc.baseURI is null, and the assignment throws a `TypeError`:

    TypeError: Attempted to assign to readonly property.

I actually don't see when it wouldn't be null since this is a new document. On Chrome, it doesn't throw, but the assignment also doesn't stick.

Instead of calling the setter, this PR creates a new property on the object itself.
2014-11-27 14:12:28 -05:00
Ian MacLeod
e49de932c9 Prefer to point to the hosted LICENSE, rather than distribute directly 2014-11-24 17:06:23 -08:00
Ian MacLeod
7dc6731eb9 Consistent license headers 2014-11-24 17:04:36 -08:00
Ian MacLeod
97d67076ca Merge pull request #74 from tjsavage/add-license
added LICENSE
2014-11-24 16:01:10 -08:00
Taylor Savage
781e4a18c7 added LICENSE 2014-11-24 15:53:25 -08:00
Addy Osmani
5980e712ce Update URL paths, link up Web Components to org 2014-11-21 17:09:26 +00:00
Jacob Rossi
db767e7769 Initial augment of UA sniffs to detect IE Edge mode 2014-11-20 15:10:23 -08:00
Steve Orvell
fa444d94e9 Merge pull request #67 from keanulee/master
CustomEvent detail test for CustomElements and HTMLImports
2014-11-20 14:56:03 -08:00
Keanu Lee
518660b119 CustomEvent detail test for CustomElements and HTMLImports 2014-11-20 12:29:37 -08:00
Daniel Freedman
fabad0f334 prepare for 0.5.1-1 2014-11-19 15:20:33 -08:00
Steve Orvell
adf6a3dbeb Adds a minimal <template> shim and includes it in webcomponents-lite.js 2014-11-19 13:47:16 -08:00
Steve Orvell
e4fbeebfd4 Fixes #60. 2014-11-18 19:01:21 -08:00
Steve Orvell
8d6a38aa6e Polyfill CustomEvent only on IE (we do this until we can find a check that passes on Safari). 2014-11-18 18:29:46 -08:00
Steve Orvell
dc1e555750 Merge pull request #55 from Polymer/custom-event-polyfill
Copy CustomElement's polyfill of CustomEvent to HTMLImports
2014-11-18 18:26:43 -08:00
Jacob MacDonald
bec32afa4d Maintain preset flags
Previously this was just bashing over any flags you passed in.
2014-11-18 13:19:05 -08:00
Keanu Lee
b0e653773d Copy CustomElement's polyfill of CustomEvent to HTMLImports 2014-11-17 15:02:30 -08:00
Ian MacLeod
7cea00d4ce devDependencies 2014-11-17 12:08:33 -08:00
Daniel Freedman
bf1c2b80c8 expose gulp test through web-component-tester 2014-11-13 15:15:27 -08:00
Daniel Freedman
117f69d0ed copy package.json to dist/ on builds 2014-11-13 15:15:06 -08:00
Addy Osmani
499f925cb3 Link up contribution guide 2014-11-13 15:54:34 +00:00
Addy Osmani
2196ee573c Add initial contributing guide 2014-11-13 15:46:47 +00:00
Daniel Freedman
81c60fa81a released gulp-audit 2014-11-12 16:31:49 -08:00