Peter Burns
51d3fa6598
ES5 strict doesn't like function declarations inside inner blocks.
2015-11-20 17:07:58 -08:00
Arthur Evans
b589f70545
Fixes #3065 : Add dom-repeat.renderedItemCount property
2015-11-20 14:59:59 -08:00
Steven Orvell
fd17602285
Merge branch 'master' into shady-linked
2015-11-20 14:52:33 -08:00
Steven Orvell
da15ff09fe
Minor factoring; ensure base properties set on instance.
2015-11-20 14:52:13 -08:00
Steve Orvell
8a08c279b6
Merge pull request #3017 from Polymer/2705-kschaaf-strict-parsing
...
Use stricter binding parsing for efficiency and correctness. Fixes #2705
2015-11-20 11:59:12 -08:00
Kevin Schaaf
c12d3edfab
Fix typos.
2015-11-20 11:59:00 -08:00
Kevin Schaaf
186e053697
Simplify more.
2015-11-20 11:52:57 -08:00
Kevin Schaaf
a3d17d5e75
Improvements to regex.
2015-11-20 10:58:37 -08:00
Steve Orvell
b55bc11332
Merge pull request #3064 from Polymer/add-target-frame-time-type
...
Give dom-repeat#_targetFrameTime a type
2015-11-20 09:55:43 -08:00
Peter Burns
adad9ce68e
Give dom-repeat#_targetFrameTime a type
2015-11-20 09:43:33 -08:00
Daniel Freedman
608ce9fd84
[skip ci] update travis config to firefox latest
2015-11-19 14:09:39 -08:00
Steve Orvell
4d45842a40
Merge pull request #3019 from Polymer/3018-kschaaf-avoid-throw
...
Avoid throwing with invalid keys/paths. Fixes #3018 .
2015-11-19 12:08:03 -08:00
Steven Orvell
108b7f98e4
Add a couple of tests.
2015-11-19 12:07:13 -08:00
Tim van der Lippe
92d6fcb8fc
Suppress warnings and expected errors in test suite
2015-11-19 13:27:33 +01:00
Steven Orvell
306cc8130e
Use linked-list for element tree traversal. Factor Polymer.DomApi into shadow/shady modules.
2015-11-18 17:00:15 -08:00
Kevin Schaaf
5076ee0b88
Avoid throwing with invalid keys/paths. Fixes #3018 .
2015-11-18 15:07:35 -08:00
Kevin Schaaf
cfa6d51479
Merge pull request #2673 from JeremybellEU/input-value-annotated
...
Fix using value$ on input element
2015-11-18 14:44:32 -08:00
Kevin Schaaf
04cd184919
Use stricter binding parsing for efficiency and correctness. Fixes #2705 .
2015-11-18 10:50:32 -08:00
Kevin Schaaf
03451378dd
Merge pull request #3005 from Polymer/simpler-travis
...
Simpler travis config
2015-11-18 10:35:47 -08:00
Daniel Freedman
68b457d4ba
Simpler travis config
...
Use a simpler, serial test structure:
- one build for a push, and one for a pr
- rather than 2 for each
- Use nodejs 4 LTS for faster installation
- Hardcode firefox 42.0 to work around travis-ci/travis-ci#5082
2015-11-17 18:09:55 -08:00
Daniel Freedman
7e7600a300
[ci skip] Update Changelog
2015-11-16 17:18:37 -08:00
Daniel Freedman
99294d92bc
prepare v1.2.3
2015-11-16 17:06:16 -08:00
Steve Orvell
e307cca15a
Merge pull request #2744 from Polymer/use-template-decorate
...
Call decorate instead of bootstrap for template prepping
2015-11-16 16:12:04 -08:00
Daniel Freedman
e2a2cfde73
Call decorate instead of bootstrap for template prepping
...
Depends on webcomponents/webcomponentsjs#447
2015-11-16 15:17:47 -08:00
Kevin Schaaf
1c67a5e09e
Merge pull request #2737 from Polymer/fix-2692
...
Fixes custom-style ordering issue and perf concern related to dom-module
2015-11-13 16:45:22 -08:00
Steven Orvell
134766f7b3
Fix global leak test. Necessary due to changes to test harness.
2015-11-13 16:20:42 -08:00
Steven Orvell
4bf0e13b91
Defer property application only when a custom-style is first created.
2015-11-13 16:05:53 -08:00
Steven Orvell
27e1dcdc64
Update comment.
2015-11-13 15:27:13 -08:00
Steven Orvell
a9704934a2
Simplify custom-style property deferment.
2015-11-13 15:19:22 -08:00
Steven Orvell
115594d130
Merge branch 'master' into fix-2692
2015-11-13 14:23:05 -08:00
Eric Bidelman
611e5b7234
Merge pull request #2700 from DarthUjj/master
...
Remove undesired full-stop from outputs
2015-11-13 11:52:28 -08:00
Eric Bidelman
822fea433d
Merge pull request #2699 from DarthUjj/patch-1
...
Fix Formatting
2015-11-13 11:51:25 -08:00
Nazar Mokrynskyi
fd57784705
Fix for incorrect CSS selectors specificity as reported in #2531
...
Fix for overriding mixin properties, fixes #1873
Added awareness from `@apply()` position among other rules so that it is preserved after CSS variables/mixing substitution.
`Polymer.StyleUtil.clearStyleRules()` method removed as it is not used anywhere.
Some unused variables removed.
Typos, unused variables and unnecessary escaping in regexps corrected.
Tests added.
2015-11-13 08:24:54 +01:00
Nazar Mokrynskyi
c2e43d3cec
Fix for method parsing in computed binding
2015-11-13 08:04:41 +01:00
Daniel Freedman
98acb3a26f
[ci skip] update changelog
2015-11-12 16:54:05 -08:00
Daniel Freedman
2ed7b8df7f
prepare v1.2.2
2015-11-12 16:22:30 -08:00
Steven Orvell
b829f2a3aa
Fixes #2692 . Ensures that custom-style properties are applied async but before next render so that all properties are defined before any are consumed by custom-styles. Also refines dom-module's early upgrade code so that it does not affect other elements (corrects for example, custom-styles upgrading before expected).
2015-11-12 15:09:48 -08:00
Kevin Schaaf
cb68ce54eb
Merge pull request #2686 from Polymer/micro-perf
...
Micro-optimizations to Polymer's core performance
2015-11-12 13:45:02 -08:00
Kayce Basques
8886c2cb49
Fix doc typo.
2015-11-12 11:03:11 -08:00
Kevin Schaaf
061e1b39e9
Merge branch 'master' into micro-perf
2015-11-11 18:14:41 -08:00
Steven Orvell
b15e5b9f3d
use local reference for wrap.
2015-11-11 18:13:30 -08:00
Steve Orvell
c07a746936
Merge pull request #2718 from Polymer/add-polymer-dom-wrap
...
Add Polymer.DomApi.wrap
2015-11-11 18:09:03 -08:00
Daniel Freedman
6cf974a4ed
Add Polymer.DomApi.wrap
...
- Make sure nodes are wrapped under ShadowDOMPolyfill
- Forwards `window.wrap` when defined
- Remove weird forked `DomApi` definition
- Remove calls to `wrap` from gestures
- Add tests
2015-11-11 15:50:16 -08:00
Steven Orvell
aca404f7e8
For correctness, bind listeners must use a property's current value rather than its passed value.
2015-11-10 15:15:04 -08:00
Steven Orvell
b905a37654
Explicitly making an element's _template
falsy is now considered an allowable setting. This means the element stamps no content, doesn't collect any styles, and avoids looking up a dom-module. This helps address #2708 and the 5 elements Polymer registers that have no template have been set with _template: null
.
2015-11-10 10:01:47 -08:00
Steven Orvell
4f9c2bd289
Make test work under native Shadow DOM.
2015-11-09 17:44:19 -08:00
Steven Orvell
3ece552db5
In _notifyListener
, only use e.detail
if the event has a detail. This is necessary for ::eventName
compatibility where eventName
is a native event like change
.
2015-11-09 17:10:56 -08:00
Kevin Schaaf
ce3245909b
Fix TOC re: host event listeners.
2015-11-09 14:05:34 -08:00
Kevin Schaaf
a2c51bf11e
Merge pull request #2705 from JeremybellEU/compound-binding-with-braces-fix
...
Fix compound bindings with braces in literals
2015-11-09 09:52:52 -08:00
Tim van der Lippe
561b28b8bc
Fix compound bindings with braces in literals
2015-11-09 18:01:42 +01:00