Commit Graph

3596 Commits

Author SHA1 Message Date
Daniel Freedman
6f2c1fc795 Disable tap gesture when track gesture is firing for ancestor node
Move tap disable into track start

Fixes #3405
2016-02-10 16:20:42 -08:00
Daniel Freedman
441103159f Merge pull request #3382 from Polymer/eslint
Use ESLint for Polymer
2016-02-08 16:48:50 -08:00
Daniel Freedman
cd4259551d Rename _mapRule to _mapRuleOntoParent
Makes the function name much more explicit about its purpose
2016-02-08 16:39:35 -08:00
Daniel Freedman
10d200432e Merge branch 'master' into eslint 2016-02-08 14:42:02 -08:00
Daniel Freedman
acdfc1e097 Test with ESLint enabled
Fix linter errors
2016-02-08 14:04:17 -08:00
Steve Orvell
5215695e71 Merge pull request #3383 from Polymer/3288-kschaaf-attr-config-fix
Configure attr's with property effects. More robust fix for #3288.
2016-02-05 17:14:43 -08:00
Kevin Schaaf
a3641e29b0 Use deserialize from the node. 2016-02-05 17:06:40 -08:00
Daniel Freedman
d84d75be20 Actually execute case-map
This was missing from #3213
2016-02-05 17:02:14 -08:00
Daniel Freedman
040787c048 Merge pull request #3213 from TimvdLippe/fix-consecutive-uppercase-casemap
Add unit test suite for CaseMap
2016-02-05 16:48:39 -08:00
Daniel Freedman
2586ede5ac Merge pull request #3279 from nazar-pc/case-convertion-performance-improvement
Improved performance of Polymer.CaseMap.* functions
2016-02-05 16:48:15 -08:00
Daniel Freedman
c7554d9daa [ci skip] .eslintrc is deprecated, add .json suffix
`no-cond-assing: [2, "except-parens"]` is default, removing
2016-02-05 15:28:59 -08:00
Kevin Schaaf
0f55d1dbe4 Configure attr's with property effects. More robust fix for #3288. 2016-02-05 12:46:54 -08:00
Daniel Freedman
f3c4bb1cd6 Use ESLint for Polymer
Modified version of #2600

- Ignores experimental and demo folders
- A few style tweaks
- Rename gulp task to `gulp lint`, and cause it to emit non-zero status
  for travis testing

Thanks to @fredj for the base PR
2016-02-05 12:08:01 -08:00
Daniel Freedman
d6e7033ac0 Merge branch 'eslint' of https://github.com/fredj/polymer into fredj-eslint 2016-02-05 10:58:41 -08:00
Tim van der Lippe
ee9a60085b Add unit test suite for CaseMap 2016-02-05 14:14:55 +01:00
Steve Orvell
9968266e74 Merge pull request #3163 from Polymer/allow-keyframe-style-transformation
Non-destructive `@keyframes` rule transformation.
2016-02-04 15:20:42 -08:00
Kevin Schaaf
473a1ee717 Merge pull request #2486 from mgiuffrida/patch-1
Allow newlines in computed binding argument list
2016-02-04 14:54:40 -08:00
Chris Joel
b9f2482eb5 Non-destructive @keyframes rule transformation.
Previously, the transformer did not disambiguate selectors in `@media`
blocks and keyframes in `@keyframes` blocks. Now, the transformer can
safely transform `@keyframes` blocks. Before a selector is transformed,
if the selector has a parent, it is checked. If the checked parent is a
`@keyframes` rule, the selector transformation is skipped.

Element-specific `@keyframes` are suffixed with the scoped element name.
For example, `@keyframes foo` in an element scoped with `x-el-0` will by
transformed to `@keyframes foo-x-el-0`. References to that animation in
the element's local styles will be updated as well.

Added tests for the new keyframes transformation.
2016-02-04 14:52:25 -08:00
Kevin Schaaf
a6d948553a Merge pull request #3373 from Polymer/filaraujo-feature/domTemplate
dom-template: parentProps should not override argument based props
2016-02-04 12:56:15 -08:00
Kevin Schaaf
eb70ea9731 Merge remote-tracking branch 'origin' into filaraujo-feature/domTemplate 2016-02-04 11:45:22 -08:00
Kevin Schaaf
e81145c114 Merge pull request #2291 from jakemac53/isDebouncerActive
make isDebouncerActive actually return a bool
2016-02-04 11:43:50 -08:00
Steve Orvell
c24355f789 Merge pull request #3374 from Polymer/3288-kschaaf-fix-regression
Fix test regression from PR 3289
2016-02-04 10:32:10 -08:00
Kevin Schaaf
5205d6ab1f Fix test regression from PR 3289 2016-02-04 10:30:56 -08:00
Kevin Schaaf
aeb44de787 Move test and add to runner. 2016-02-04 09:55:18 -08:00
Kevin Schaaf
d69ee9a35e Merge branch 'feature/domTemplate' of https://github.com/filaraujo/polymer into filaraujo-feature/domTemplate 2016-02-04 09:29:37 -08:00
Jacob MacDonald
dee9b981a8 make isDebouncerActive actually return a bool 2016-02-04 07:01:25 -08:00
Frederic Junod
f7d2bdfd8b Lint the javascript code with eslint 2016-02-04 09:24:30 +01:00
Michael Giuffrida
b40f639b63 i suck at git 2016-02-03 21:50:33 -08:00
Michael Giuffrida
f960f251c1 Merge remote-tracking branch 'mgiuffrida/master' into patch-1 2016-02-03 21:45:59 -08:00
Steve Orvell
95a5adea8e Merge pull request #3289 from Polymer/3288-kschaaf-attr-config
Exclude attribute bindings from configuration. Fixes #3288.
2016-02-03 18:21:00 -08:00
Steve Orvell
cffaad4b55 Merge pull request #3212 from sandro-k/patch-1
Update PRIMER.md
2016-02-03 16:48:56 -08:00
Steve Orvell
b448c18035 Merge pull request #2419 from nazar-pc/content-selector-fix
Eliminate the need to write `:host ::content` instead of just `::content`
2016-02-03 16:02:14 -08:00
Steve Orvell
1e37387881 Merge pull request #2405 from Polymer/justin-bootstrap
Remove redundant assign to window.Polymer
2016-02-03 15:58:26 -08:00
Nazar Mokrynskyi
c6c28f5197 Using constant rather than plain :host and ::content, also create regexp object only once 2016-02-01 01:52:29 +01:00
Nazar Mokrynskyi
d9f3dda973 Eliminate the need to write :host ::content instead of just ::content, while keeping the same processing under the hood 2016-02-01 01:51:32 +01:00
Daniel Freedman
4a9ef8e96d fix test case in 5d17efc 2016-01-27 15:38:15 -08:00
Steve Orvell
5d17efc5d7 Merge pull request #3341 from Polymer/add-style-shim-flaw-test
add test for 3326
2016-01-27 15:24:41 -08:00
Daniel Freedman
854fdbf711 add test for 3326 2016-01-27 15:24:00 -08:00
Daniel Freedman
3d2cb71c95 [ci skip] update CHANGELOG 2016-01-27 14:14:02 -08:00
Daniel Freedman
6c7b2228c7 prepare v1.2.4 2016-01-27 14:09:12 -08:00
Daniel Freedman
2054a823ed Merge pull request #3338 from Polymer/fix-3337
Fixes #3337. When a doc fragment is added, only update the invalidati…
2016-01-27 12:23:33 -08:00
Steven Orvell
d26b003691 Fixes #3337. When a doc fragment is added, only update the invalidation state of the insertion point list of the shadyRoot IFF it is not already invalid. This fixes an issue that was detected when an a doc fragment that did not include an insertion point was added after one that did but before distribution. 2016-01-27 12:09:57 -08:00
Steve Orvell
3ffc3e2ba0 Merge pull request #3332 from Polymer/fix-build-updated-vulcanize
fix build output with new vulcanize
2016-01-25 11:04:33 -08:00
Daniel Freedman
c3177113ff fix build output with new vulcanize 2016-01-25 10:48:22 -08:00
Steve Orvell
83cc3684ef Merge pull request #3323 from Polymer/fix-style-properties
Revert style properties change
2016-01-22 21:31:21 -08:00
Steve Orvell
c5ed4706ab Merge pull request #3325 from Polymer/3324-kschaaf-domif-detach
Ensure dom-if moved into doc fragment is torn down. Fixes #3324
2016-01-22 20:53:15 -08:00
Peter Burns
0a0b580981 Revert style properties change from fd57784705
This broke a number of tests on an internal project.
2016-01-22 20:06:46 -08:00
Steve Orvell
e13b28143d Merge pull request #3322 from Polymer/fix-3321
Fixes 3321
2016-01-22 20:05:05 -08:00
Steven Orvell
6b839112c7 Fix shadow dom test. 2016-01-22 20:04:10 -08:00
Kevin Schaaf
4b7da35738 Add shadow root support. (tests broken) 2016-01-22 19:55:52 -08:00