Steve Orvell
55876ca2cf
Merge pull request #3408 from Polymer/3063-kschaaf-extend-template
...
Ensure _propertySetter is installed first. Fixes #3063
2016-02-12 19:18:56 -08:00
Steve Orvell
605e5fe24f
Merge pull request #3406 from TimvdLippe/var-with-parenthesis
...
Fix parsing of parenthesis in default of variable declaration
2016-02-12 17:41:16 -08:00
Kevin Schaaf
b870fe0a7b
Update comments.
2016-02-12 17:24:21 -08:00
Kevin Schaaf
d4b53b32a6
Merge pull request #3414 from Polymer/lint-tests
...
Lint the tests
2016-02-12 17:05:15 -08:00
Daniel Freedman
d81f6bc37a
ordering issue for when assert is defined in native html imports
2016-02-12 12:39:39 -08:00
Daniel Freedman
e5063ca643
Lint the tests
...
Also, fix all the lint errors in the tests
2016-02-12 12:25:01 -08:00
Kevin Schaaf
de039f8603
Merge pull request #3354 from kaste/patch-1
...
Fix: There is no effect of kind 'computedAnnotation'
2016-02-12 09:45:35 -08:00
Steve Orvell
a4cc272320
Merge pull request #3222 from nazar-pc/fix-for-scoping-empty-class
...
Fix for scoping when class is not specified on element
2016-02-11 12:44:05 -08:00
Daniel Freedman
1b5fc9acb7
[ci skip] move linting into before_script stage
...
If lint is in before_script, it will fail before running tests, which
is less confusing
2016-02-11 12:38:48 -08:00
Kevin Schaaf
6362f60095
Ensure _propertySetter is installed first. Fixes #3063
2016-02-10 18:02:04 -08:00
Tim van der Lippe
926d0e5274
Fix parsing of parenthesis in default of variable declaration
2016-02-10 23:47:52 +01: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
herr kaste
db7c32491c
Make the test more look like a spec
2016-02-05 23:28:47 +01: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
56df8f7346
Add test suite for effects order
2016-02-05 15:42:54 +01: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
Nazar Mokrynskyi
24e9fc79a3
Fix for scoping when class is not specified on element (null was prepended instead of empty string)
2016-02-04 02:11:14 +01: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
Herr Kaste
06cd560c8d
Fix: There is no effect of kind 'computedAnnotation'
...
Although `computedAnnotation` is the better name, you actually named it `annotatedComputation`.
2016-02-01 00:54:43 +01:00
Daniel Freedman
4a9ef8e96d
fix test case in 5d17efc
2016-01-27 15:38:15 -08:00