Daniel Freedman
4f0337a5da
Fix gulp 4 issues
2018-07-18 12:06:56 -07:00
Daniel Freedman
3c23d673ca
Closure extern update
2018-04-11 12:17:09 -07:00
Tim van der Lippe
8d97d1311e
Merge branch 'master' into rewrite-expression-parser
2018-03-31 15:52:33 +02:00
Peter Burns
5357d64aef
Update types.
2018-03-30 15:59:57 -07:00
Tim van der Lippe
211c223fb9
Update docs and types
2018-02-25 16:13:16 +01:00
Daniel Freedman
2d674e75b1
update types
2018-02-21 14:11:51 -08:00
Daniel Freedman
8f8135b2de
fix typings
2018-02-21 12:52:00 -08:00
Daniel Freedman
7e74e363ff
Ensure DisableUpgradeMixin extends PropertiesMixin
2018-02-21 12:45:18 -08:00
Steven Orvell
5bc45ce390
update types
2018-02-21 10:28:07 -08:00
Steven Orvell
5607a2d8c3
Lint and type fixes
2018-02-06 14:48:36 -08:00
Mike Samuel
b52ab81dff
Added Polymer.version to polymer-externs ( #5079 )
2018-01-31 12:31:18 -08:00
Steven Orvell
5521e43e69
update types
2018-01-30 15:19:58 -08:00
James Garbutt
589684a5a4
add void return type annotations ( #5000 )
...
* add void return type annotations
* define dom api prototype members as functions
* fix renderstatus optional parameters
* fix style-gatherer types
* fix templatize types
* fix event listener remove types
* use generics in mixinBehaviors
* update gen-typescript-declarations
* add memberof annotation to domapi methods
* add domapi types
* move dom methods to correct place
* use parameterless NodeList for the dom API
2018-01-09 15:10:12 -08:00
Alexander Marks
7b581de9a2
Address latest round of comments.
2017-12-18 16:47:20 -08:00
Tim van der Lippe
e872982269
Tighten more types for TypeScript and Closure ( #4998 )
2017-12-18 14:03:02 -08:00
Alexander Marks
f0e31f2d4f
Fix compilation errors.
2017-12-13 14:17:58 -08:00
Daniel Freedman
986fb3e9fd
re-add AsyncInterface definition, fix comment
2017-12-08 10:58:36 -08:00
Kevin Schaaf
40d47f24d1
Avoid _setPendingProperty warning due to types not understanding deduping mixin.
2017-12-08 10:55:33 -08:00
Kevin Schaaf
a12934c578
Fix most closure warnings.
2017-12-05 17:34:14 -08:00
Kevin Schaaf
b158e082d0
Merge with master
2017-12-05 15:49:07 -08:00
Steven Orvell
d3e1bae48a
Merge branch 'master' into basic-element
2017-11-29 16:49:07 -08:00
Daniel Freedman
15d8c6af41
Merge branch 'master' into 2.x-shady-unscoped-style
2017-11-17 17:33:16 -08:00
Steven Orvell
d331c673fc
Merge branch 'master' into basic-element
2017-11-10 17:04:15 -08:00
Daniel Freedman
cda62d5fd3
Implement type change in Polymer.ElementMixin
2017-11-02 15:01:05 -07:00
Peter Burns
4837e4a825
instance.$.foo should only give Elements
...
You need to be at least an `Element` to have an id attribute, and you need to have an id attribute to be in the `$` map.
2017-11-02 14:21:06 -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
Daniel Freedman
6bf97eb6db
Merge branch 'master' into clean-up-externs
2017-10-16 11:00:36 -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
1e5ea94221
Clean up closure externs
...
Generated closure externs substantially reduced in size with newer
generator
2017-10-09 12:42:16 -07:00
Daniel Freedman
2ef65aa62c
First draft of a :dir aware element mixin
...
Related to #4860
2017-10-05 15:59:59 -07:00
Daniel Freedman
5ae21a08c7
fix some formatting and closure linting
2017-09-25 15:57:42 -07:00
Alexander Marks
c3f31455e9
Move @externs before @license because Closure likes that.
2017-09-20 17:23:28 -07:00
Josh Soref
17678e1a5d
spelling: identify
2017-09-07 04:34:09 +00: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
Daniel Freedman
f4a9e06e59
[ci skip] Add license headers to externs
2017-08-11 14:49:31 -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
a4591abcd3
Update closure compiler to support polymer pass v2
...
Looser typing for Polymer({}) to support polymer pass transform
2017-08-11 11:55:04 -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
c20b657477
[ci skip] update externs more from #4776
2017-08-07 15:31:10 -07:00
Becky Siegel
eb170cbb11
Update closure annotation for Polymer.prototype.push
2017-08-06 21:48:32 -07:00
Daniel Freedman
5ab9032cf6
[ci skip] remove duplicate definition for __dataHost in externs
2017-08-01 11:39:00 -07:00
Daniel Freedman
34d22acd7b
add mixin class instance properties to externs
2017-07-31 11:05:09 -07:00
Daniel Freedman
4176c6c283
cleanup and update npm dependencies
2017-07-14 16:58:54 -07:00
Daniel Freedman
88043077cb
Meaningful closure fixes from @ChadKillingsworth
2017-07-11 10:54:11 -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
7612df67d8
remove PolymerPropertyEffects type, inline DataTrigger and DataEffect types
2017-06-16 15:12:01 -07:00