Commit Graph
330 Commits
Author SHA1 Message Date
Steven Orvell 68eced863d Expose _dataHost and ensure it's always set. 2017-11-29 17:46:38 -08:00
Daniel Freedman 3313019766 Merge pull request #4960 from Polymer/aomarks-function-annotations
Add some @function annotations to APIs that are defined by assignment.
2017-11-29 11:08:25 -08:00
Alexander Marks 29f2a0e7c4 Add some @function annotations to APIs that are defined by assignment.
This helps analyzer understand when something is a function despite not
having any function-looking syntax on the right-hand-side.
2017-11-28 21:34:13 -08:00
Steve Orvell c42199c67d Merge pull request #4942 from Polymer/3626-kschaaf-repeat-refresh
Ensure re-sort/filter always happens after array item set. Fixes #3626
2017-11-21 17:19:16 -08:00
Steven Orvell 581483f2b4 Fix typo. 2017-11-21 16:23:26 -08:00
Steve Orvell 1796c74270 Merge pull request #4941 from Polymer/4897-kschaaf-docs
Clarify docs on target-framerate. Fixes #4897
2017-11-21 11:38:00 -08:00
Steven Orvell 80a7f1e57d Comment reworded based on feedback. 2017-11-21 11:36:24 -08:00
Daniel Freedman 15d8c6af41 Merge branch 'master' into 2.x-shady-unscoped-style 2017-11-17 17:33:16 -08:00
Kevin Schaaf 348ed92cdf Also clarify delay units. Fixes #4707 2017-11-17 11:10:42 -08:00
Kevin Schaaf f6d4771c41 Ensure re-sort/filter always happens after array item set. Fixes #3626 2017-11-17 11:01:39 -08:00
Kevin Schaaf c18a5349a3 Clarify docs on target-framerate. Fixes #4897 2017-11-17 10:08:38 -08:00
Omar Alshaker 41616c6fbd Fix missing comma in Path.translate JSDoc 2017-11-16 00:52:38 +01:00
Steven Orvell 08c3a02eaf Prep for processing of shady-unscoped moving to ShadyCSS 2017-11-13 11:29:27 -08:00
Daniel Freedman fbebc5929f Merge pull request #4919 from Polymer/$-gives-element
instance.$.foo should only give Elements
2017-11-02 15:24:32 -07:00
Daniel Freedman cda62d5fd3 Implement type change in Polymer.ElementMixin 2017-11-02 15:01:05 -07:00
Daniel Freedman bf8b21b593 Merge pull request #4915 from Polymer/4914-kschaaf-mutable-docs
Clarify all elements between changes must apply mixin.
2017-11-02 14:25:55 -07:00
Alexander Marks 7308d8b62c Annotate DomApi with @memberof Polymer 2017-11-01 17:34:12 -07:00
Kevin Schaaf 7360f42a34 Clarify all elements between changes must apply mixing.
Fixes #4914
2017-11-01 17:07:59 -07:00
Steven Orvell 1c5b731ffb Update externs again. 2017-10-19 14:57:51 -07:00
Steven Orvell 8683b27c07 Update externs. 2017-10-19 14:53:04 -07:00
Steven Orvell 092b210ffa Lint fixes 2017-10-19 14:51:14 -07:00
Steven Orvell 819652eb9f Allow style elements to be separate in the element template.
Previously Polymer collapsed any included shared styles into 1 style element. This prevents the browser from recognizing shared style elements as similar and optimizing them. With this change, we no longer collapse styles. Note, included styles are still currently collapsed by ShadyCSS but the polyfill will likely not do this in the future.
2017-10-19 12:56:30 -07:00
Steven Orvell d77e073eb9 Add support for styles with a shady-unscoped attribute
This is being added to 1.x and it's ported forward here so it can be used in hybrid mode.
2017-10-18 16:49:49 -07:00
Daniel Freedman 4265cba1f9 [ci skip] version script did not work as expected 2017-10-18 11:58:57 -07:00
Daniel Freedman e9e2cda888 Merge pull request #4880 from Polymer/native-dir
:dir() support
2017-10-16 10:58:38 -07:00
Daniel Freedman 02e2f148d0 super it and put back takeRecords 2017-10-13 17:54:25 -07:00
Daniel Freedman 15cbdff522 more feedback 2017-10-13 17:40:22 -07:00
Daniel Freedman e71b84a8b8 Address feedback
- Extend PropertyAccessors for greater flexibility
- Detect if `:dir` is used in order to activate runtime features
- Add to LegacyElement for 1.x compatibility
- clean up `ElementMixin._finalizeTemplate`
2017-10-12 11:17:19 -07:00
Daniel Freedman f98ad11705 add some description of the dir mixin 2017-10-11 11:04:52 -07:00
Daniel Freedman 31c0ebc7da Always do the :dir transform
ShadyCSS version of the :dir transform is not good enough :(
2017-10-10 17:52:39 -07:00
Daniel Freedman 7d044b49bd remove bogus semicolon 2017-10-09 11:02:27 -07:00
Alexander Marks 3b15517388 Declare Polymer.Templatizer directly, for Closure. (#4870)
Closure cannot follow the indirect `@polymerBehavior` annotation, so define Polymer.Templatizer directly.
2017-10-06 16:58:14 -07:00
Daniel Freedman 2ef65aa62c First draft of a :dir aware element mixin
Related to #4860
2017-10-05 15:59:59 -07:00
Tim van der Lippe f049dd91db Prepare for release 2.1.1 2017-09-28 15:04:51 -07:00
Daniel Freedman 374d4079e2 Merge pull request #4649 from Polymer/4630-kschaaf-undefined-textarea
Special-case undefined textarea.value same as input. Fixes #4630
2017-09-21 17:03:55 -07:00
Steve Orvell 6af12ac1af Merge pull request #4841 from Polymer/exclude-style-script-bindings
Exclude script and style tags for parsing bindings
2017-09-21 16:57:40 -07:00
Daniel Freedman 61b2c8a544 just move the style instead 2017-09-20 17:17:57 -07:00
Daniel Freedman 155ab8a20d Copy <custom-style> styles to main document
Work around deprecation of styles in HTML Imports
https://crbug.com/523952

Fixes #4679
2017-09-20 11:45:48 -07:00
Artur Parkhisenko b19e180a45 Fix typos and jsdoc (#4846) 2017-09-20 11:24:29 -07:00
Daniel Freedman 64788aad50 [ci skip] bump version to 2.1.0 2017-09-19 10:57:46 -07:00
Tim van der Lippe 41fa90b3f6 Exclude script and style tags for parsing bindings 2017-09-15 16:32:25 -07:00
Steve Orvell 21ff47184e Merge pull request #4837 from Polymer/no-cast-in-return
No cast in return
2017-09-12 17:42:13 -07:00
Steve Orvell 4a2d427f5d Merge pull request #4829 from Polymer/optional-passive-gestures
App-level support for passive gesture touch listeners
2017-09-11 15:03:01 -07:00
Daniel Freedman 3547fd3785 Provide a Polymer.setPassiveTouchGestures() function
Clean up event listener options inside gestures that use passive touch
2017-09-11 11:31:23 -07:00
Daniel Freedman 5ab0a864ae Merge pull request #4828 from jsoref/spelling
Spelling
2017-09-11 11:00:33 -07:00
Daniel Freedman fb8039e038 Make sure closure types have braces 2017-09-08 14:14:10 -07:00
Daniel Freedman f6f0a3b7ae a few more comments in return 2017-09-07 15:32:25 -07:00
Daniel Freedman 6312da5700 Fix setting, add smoke test 2017-09-07 15:08:20 -07:00
Daniel Freedman 5f7597f7a4 Optional passive touch listeners for gestures
Set Polymer.passiveTouchGestures to true to enable
2017-09-07 15:08:20 -07:00
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