Commit Graph

13 Commits

Author SHA1 Message Date
Peter Burns
cf2cd05e73 Suppress upcoming jscompiler errors.
These errors don't exist yet, but we need to suppress them in the files that will have them so that we're not broken when they're turned on.
2018-12-19 16:15:06 -08:00
Steven Orvell
65a3149b8c Ensure initial static classes are preserved when a class$ binding is present
This ensures ShadyCSS scoping classes are not removed when a class binding's initial literal value is set.
2018-11-09 18:03:55 -08:00
Florian Ribon
96557f7840 Update jsdoc for PropertyEffects.splice (#5367)
Array.prototype.splice has its "deleteCount" parameter optional. When omitted, all
items of the arrays are removed. This works with a polymer element
"splice" method, but the typing does not correspond and TypeScript
prevents it.

Fixes #5366
2018-10-05 10:57:02 +01:00
Kevin Schaaf
e385e49b40 Add legacy-data-mixin as 1.x->2.x/3.x migration aide. Fixes #5262. 2018-08-21 10:53:48 -07:00
Peter Burns
7241ec5855 Use case-map lib in a saner way.
In this file currently you can refer to the function as: caseMap.dashToCamelCase, CaseMap.dashToCamelCase, or dashToCamelCase. Let's just do a standard import style here.
2018-08-16 14:29:39 -07:00
Tomek Wytrębowicz
db2f3cc71c Make event notification handler read the value from currentTarget, (#5313)
instead of target which may not be bound to any data.

Fixes https://github.com/Polymer/polymer/issues/5308
2018-08-02 13:14:36 +02:00
Alexander Marks
536030acfa Generate typings for Polymer 3.
- Publishing (actually packing) will now generate the typings and fail
  if they don't compile.
- Travis will now generate the typings and fail if they don't compile.
- Some minor tweaks to get typings compiling.
2018-07-26 18:28:22 -07:00
Alexander Marks
fa58519c9a Annotate some internal classes as private. 2018-07-20 21:45:35 -07:00
Peter Burns
b26811708f Convert object to class for better compilation
Under some closure flags the hostStack object was being split out into three unrelated functions. Converting it to a class makes the code more regular, and compile with more optimizations on.

There's almost definitely a way to express what we were doing with closure annotations, but this seems more robust to me.
2018-06-27 14:52:45 -07:00
Peter Burns
ab103dc142 Improve documentation and legibility.
- Did a pass for every place we were writing `Polymer.foo`.
- Basic cleanup of a number of places for legibility by both humans and polymer-analyzer.
2018-04-23 17:36:41 -07:00
Peter Burns
ac2fa81fb7 Fixup a few places where comments were misplaced. 2018-04-16 11:23:56 -07:00
Peter Burns
cf3b7215aa Replace sources with modulizer output. 2018-04-16 11:18:42 -07:00
Peter Burns
527d2cdd14 Rename HTML files to .js files to trick git's rename detection. 2018-04-16 11:15:46 -07:00