Commit Graph

58 Commits

Author SHA1 Message Date
Daniel Freedman
eea1ca23db closure advanced compilation 2017-03-29 15:52:01 -07:00
Daniel Freedman
8c1a5765b8 Remove useless id check on mixins
Fixes #4445
2017-03-20 16:02:27 -07:00
Steven Orvell
de09d73030 Fixes #4437. Ensure _registered is called 1x for each element class using LegacyElementMixin. Ensure that a behaviors’s registered method is called for any extending class. 2017-03-16 17:44:38 +11:00
valdrinkoshi
93cf324638 add properties, behaviors, observers, hostAttributes, listeners on prototype 2017-03-09 12:54:21 -08:00
valdrinkoshi
a081e66919 better comment 2017-03-08 17:49:50 -08:00
valdrinkoshi
8bac5c6091 get behaviors only from prototypes 2017-03-08 17:48:12 -08:00
valdrinkoshi
444c043cd9 behaviors ONLY on the prototype 2017-03-08 17:39:36 -08:00
valdrinkoshi
4bf7bdd70e add instance behaviors 2017-03-08 17:03:11 -08:00
Steven Orvell
4ae65ba26f [ci skip] minor doc edits. 2017-03-07 17:56:37 -08:00
Daniel Freedman
428e3b0952 Merge pull request #4390 from Polymer/mutable-data-behavior-fix
Allow hybrid elements (like iron-list) to make template instances with mutable data
2017-03-07 14:17:02 -08:00
Steve Orvell
52f7bea32c Merge pull request #4389 from ChadKillingsworth/closure-library
Don't override the goog namespace if it already exists
2017-03-07 13:53:21 -08:00
Steven Orvell
d9418e1adb another test fix. 2017-03-07 13:50:15 -08:00
Daniel Freedman
7cebe120be move mutable data mixin to be loaded by polymer.html 2017-03-07 12:50:01 -08:00
Steven Orvell
3e6832977b Fix 4387. Ensure dom-change fired with composed: true. 2017-03-07 12:42:06 -08:00
Keanu Lee
ea392e3f28 Allow hybrid elements (like iron-list) to make template instances with mutable data 2017-03-07 11:34:54 -08:00
Chad Killingsworth
b30deb22ae Don't override the goog namespace if it already exists 2017-03-07 13:07:47 -06:00
Steven Orvell
58213ee611 update copyright date. 2017-03-03 16:54:36 -08:00
Daniel Freedman
b278977a67 enforce strictness tests 2017-03-03 16:03:45 -08:00
Kevin Schaaf
7f94a66cf8 Create a polymer element in globals tests. 2017-03-03 16:00:01 -08:00
Steven Orvell
88756fe090 fix code comment. 2017-03-03 15:59:39 -08:00
Steven Orvell
83f0104403 var -> let and turn on lint rule. 2017-03-03 15:58:52 -08:00
Kevin Schaaf
cc2e0abe41 Doc cleanup 2017-03-03 15:40:31 -08:00
Kevin Schaaf
fa37505a69 fix class ArraySelector for analyzer 2017-03-03 15:40:19 -08:00
Kevin Schaaf
6298f4ef7e Note why assigning dataProto is safe 2017-03-03 14:41:28 -08:00
Kevin Schaaf
98d56befda Fix unintended usage of Polymer.Base. Replace Polymer.mixin with Object.assign. 2017-03-03 14:14:00 -08:00
Kevin Schaaf
e27d7294d6 Add property doc for Polymer.rootPath, move to element-mixim 2017-03-03 11:34:46 -08:00
Kevin Schaaf
139872dce8 Doc instance props isAttached, rootPath, importPath. Fix early rootPath. Fixes #3956 2017-03-03 11:21:26 -08:00
Steve Orvell
da49964ff4 Merge pull request #4360 from Polymer/2.0-fix-4357
Fixes #4357.
2017-03-02 19:41:06 -08:00
Steve Orvell
8dc288673c Merge pull request #4361 from Polymer/4359-kschaaf-mutable
Revert to strict dirty checking. Add Polymer.MutableData mixin as opt-in strategy
2017-03-02 19:06:20 -08:00
Steven Orvell
4538baaa54 Merge 2.0-preview and fix tests. 2017-03-02 19:02:41 -08:00
Steven Orvell
f21282a0ce * importPath and rootPath should now include a trailing slash.
* `importPath` can now be a path fragment (e.g. `foo/`)
2017-03-02 17:38:43 -08:00
Justin Fagnani
6ae8c4c162 Add @namespace tag for Polymer.dom 2017-03-02 17:10:15 -08:00
Kevin Schaaf
79e8a705dc [ci skip] Fix doc 2017-03-02 16:54:06 -08:00
Kevin Schaaf
9f3de91733 [ci ski] Fix doc 2017-03-02 16:53:42 -08:00
Kevin Schaaf
f3ddd860b7 [ci skip] Fix typo 2017-03-02 16:51:27 -08:00
Kevin Schaaf
1f64e1e272 Eliminate 2nd argument, add OptionalMutableData mixin/behavior. 2017-03-02 16:44:25 -08:00
Kevin Schaaf
fdfaf0710a [ci skip] Grammar snobbing. 2017-03-02 16:03:48 -08:00
Kevin Schaaf
1ba9af10ee [ci skip] Update docs. 2017-03-02 16:03:08 -08:00
Kevin Schaaf
6694d99ca9 Make MutableData configurable via prop/attr. 2017-03-02 15:44:47 -08:00
Kevin Schaaf
e14c755809 [ci skip] Fix doc typo 2017-03-02 02:37:22 -08:00
Kevin Schaaf
5e9594467a Revert to strict dirty checking. Add Polymer.MutableData mixin as opt-in strategy. Fixes #4359 2017-03-01 19:38:42 -08:00
Steven Orvell
4a6e06d399 Fixes #4357. Adds importPath and rootPath properties to Polymer.Element. The importPath property defaults to the path part of the url containing the dom-module matching the element's static is property. The rootPath property is set to the Polymer.rootPath property and defaults to the path part of the main document url. These properties can be used in bindings to url's. The importPath property is used to scope url's in element styles. [Note, this depends on https://github.com/webcomponents/html-imports/pull/44]. 2017-03-01 19:37:17 -08:00
Daniel Freedman
d91411cdf3 Forward-port gesture fixes from 1.x
Fixes #4211
2017-03-01 12:08:38 -08:00
Steven Orvell
24feb77678 Add docs. 2017-03-01 10:12:54 -08:00
Kevin Schaaf
5e076a71a9 Add remaining API documentation 2017-03-01 00:24:47 -08:00
Steven Orvell
d75bbd9243 Merge branch '2.0-doc-annotations' into 2.0-connect-order
Conflicts:
	src/mixins/element-mixin.html
2017-02-28 19:46:35 -08:00
Kevin Schaaf
e194d40afd More API docs. 2017-02-28 17:07:32 -08:00
Kevin Schaaf
670fd68168 More API docs. 2017-02-28 16:19:24 -08:00
Kevin Schaaf
8b59dd63aa Fix typos. 2017-02-28 14:02:00 -08:00
Kevin Schaaf
c6888b9589 Privatize __templateNotes and __templateNodes.
These are technically shared between mixins but we want to keep them private until we make the template parsing and stamping more pluggable.
2017-02-28 13:59:02 -08:00