Commit Graph
259 Commits
Author SHA1 Message Date
Daniel Freedman c802b8b2f3 Don't have return /** comment */ lines
This breaks espree AST generation with automatic semicolon insertion and
becomes

```
return
/** comment */
thing;
```
2017-09-07 15:07:32 -07:00
Tim van der Lippe 65859b1cd7 Explicitly set display none on dom-* elements (#4821) 2017-09-01 17:44:35 -07:00
Tomek Wytrebowicz 600543509e Publish DomBind in Polymer. scope
Fixes #4797
2017-08-17 12:44:22 +02:00
Tim van der Lippe 75c6fff78b Enable ESLint 'semi' rule
Closes #4651
2017-08-16 19:23:50 -07:00
Daniel Freedman 42fd830746 Merge pull request #4786 from beckysiegel/master
Update closure annotation for all paths
2017-08-11 14:51:36 -07:00
Becky Siegel 42ce5a88db Polymer.Path.get accepts both a string path or an Array path, so
functions that call this should allow for either as well. Already
changed for Polymer.prototype.push here:

https://github.com/Polymer/polymer/pull/4776
2017-08-11 14:24:46 -07:00
Daniel Freedman d439960aba Revert "Adds restamp mode to dom-repeat." 2017-08-09 15:49:47 -07:00
Daniel Freedman d937d5fe38 Fix compiling with Polymer({}) calls
Add types for instance properties of ElementMixin and LegacyElementMixin
2017-08-09 14:15:11 -07:00
Daniel Freedman 3fd628c956 Merge pull request #4769 from Polymer/tooling-cleanup
Test cleanup for tooling
2017-08-08 14:57:48 -07:00
Kevin Schaaf 9b00efa713 Merge pull request #4780 from Polymer/whitespace-css-imports
Allow arbitrary whitespace in CSS imports
2017-08-07 21:17:58 -07:00
Tim van der Lippe bbf0e7c8e8 Remove double space
Closes #4712
2017-08-07 21:08:00 -07:00
Tim van der Lippe 5c250d4470 Allow arbitrary whitespace in CSS imports 2017-08-07 20:51:41 -07:00
Daniel Freedman 9f7df4cf7d Fix dom-module API docs with static import function
Fixes #4740
2017-08-07 15:53:42 -07:00
Daniel Freedman 679a49e4d8 imported css modules should always be before element's styles
This is still slightly different from 1.x, which used ordering, but most
`<link rel="import" type="css">` style imports came before the template.

Fixes #4770
2017-08-07 14:59:51 -07:00
Becky Siegel eb170cbb11 Update closure annotation for Polymer.prototype.push 2017-08-06 21:48:32 -07:00
katejeffreys 9591b2f458 Merge pull request #4750 from Polymer/arthurevans-patch-1
Update custom-style API doc
2017-08-04 15:58:11 -07:00
Arthur Evans 48fac92233 Fixed formatting. 2017-08-04 15:20:53 -07:00
Arthur Evans eb406c7110 Fix formatting of code in API docs (#4771) 2017-08-04 15:08:02 -07:00
Peter Burns 3555b4584c Refer to Gestures.recognizers consistently. 2017-08-03 12:15:32 -07:00
Tim van der Lippe 05964657d7 Merge branch 'master' into 1713-kschaaf-repeat-restamp 2017-07-31 20:09:46 -07:00
Peter Burns a3d6e56be7 Better distinguish param name from namespaced name 2017-07-31 17:08:12 -07:00
Justin Fagnani 4d730e16a8 Add sanitizeDOMValue to settings.html
Fixes #4753
2017-07-25 15:58:12 -07:00
Arthur Evans 52a7328e0f Update custom-style API doc
Fixes https://github.com/Polymer/docs/issues/2266.

I didn't test this through the docs generation. Handle with care.
2017-07-24 15:45:05 -07:00
Peter Burns aa6e7b6b5e Merge pull request #4748 from Polymer/import-dom-module
Use customElements.get rather than referring to the global for Polymer.DomModule
2017-07-24 15:42:15 -07:00
Peter Burns bb20237806 Use customElements.get rather than referring to the global for Polymer.DomModule 2017-07-24 15:25:35 -07:00
Peter Burns dbedcfc00a Add import of dom-module to file that uses it. 2017-07-24 12:22:31 -07:00
Daniel Freedman 0f695d90bf [ci skip] Fix documentation in PropertyAccessors
Function to enable accessors is `_enableProperties`, and should be
called in the `connectedCallback`
2017-07-19 14:13:44 -07:00
Daniel Freedman 2e7dc00b26 [ci skip] fix closure warning 2017-07-18 11:06:30 -07:00
Daniel Freedman 50bf45c3cc Fix event path for tap event on touch
Always use findOriginalTarget with a real event!

Fixes #4670
2017-07-17 17:12:37 -07:00
Steven Orvell 2daf9de223 Update LegacyElementMixin.distributeContent
This should no longer be needed and is provided only for backwards compatibility.
2017-07-14 15:02:19 -07:00
Daniel Freedman 0cb560a4d7 [ci skip] remove one new closure warning for updating closure 2017-07-11 14:52:14 -07:00
Daniel Freedman 72022f2739 [ci skip] clean up mixin fn and regen externs 2017-06-30 16:51:28 -07:00
Daniel Freedman 446538135e address some concerns from kschaaf 2017-06-29 16:47:17 -07:00
Daniel Freedman 3e14a1d812 zero warnings left 2017-06-27 18:39:39 -07:00
Daniel Freedman 2efccb95f4 Remove @suppress {missingProperties}
It may break stuff in closure to use this much, so try to shape classes
for closure directly.

Use polymer pass v2 to remove warnings for properties defined in
`properties` block
2017-06-20 17:30:57 -07:00
Daniel Freedman 9b7e1848ce Merge branch 'master' into closure-warnings 2017-06-20 14:40:54 -07:00
Daniel Freedman 48fdac7f79 Merge pull request #4568 from Polymer/jsdoc-new-tags
Jsdoc new tags
2017-06-20 12:53:38 -07:00
Alexander Marks 806119ae82 Annotate Debouncer summary. (#4691) 2017-06-19 11:58:11 -07:00
hungyao de181d6ef9 Fix typo in templatize.html
Tempaltize -> Templatize
2017-06-19 09:53:53 +09:00
Alexander Marks 77f067128f Move Debouncer memberof annotation to right place, and add a summary. (#4690) 2017-06-16 20:26:18 -07:00
Daniel Freedman 7612df67d8 remove PolymerPropertyEffects type, inline DataTrigger and DataEffect types 2017-06-16 15:12:01 -07:00
Daniel Freedman 3b7eedb81f remove polymer-element dependency introduced by a merge conflict 2017-06-15 15:23:41 -07:00
Daniel Freedman f7e2bd9730 Merge branch 'master' into closure-warnings 2017-06-15 14:43:31 -07:00
Daniel Freedman 0e196602b7 Merge pull request #4666 from Polymer/FredKSchott-patch-1
Add explicit imports across files inside of polymer
2017-06-15 11:42:24 -07:00
Daniel Freedman 57d3d97046 Merge pull request #4668 from Polymer/guard-all-dommodule
guard all references to Polymer.DomModule
2017-06-15 11:28:09 -07:00
Fred K. Schott fc8863061e remove dommodule imports 2017-06-15 11:16:22 -07:00
Fred K. Schott 73fbbb45a7 Create style-gather.html 2017-06-15 11:15:49 -07:00
Steve Orvell af12e297df Merge pull request #4676 from Polymer/fix-4650
dom-repat: set path when an observed path changes.
2017-06-13 10:18:21 -07:00
Steve Orvell fdc0eff054 Merge pull request #4648 from Polymer/4643-kschaaf-binding-whitespace
Fix parsing for argument whitespace. Fixes #4643.
2017-06-08 18:38:39 -07:00
Steven Orvell bdbbfa1978 Remove unused __needFullRefresh 2017-06-08 17:29:30 -07:00