Commit Graph
170 Commits
Author SHA1 Message Date
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
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
Steven Orvell 22d27aa087 Fixes #4650: if an observed path changes, the repeat should render but in addition, the path should be notified. This is necessary since “mutableData” is optional. 2017-06-07 17:50:27 -07:00
Daniel Freedman 07dd436bf3 Merge pull request #4669 from bubersson/patch-1
Fix typo in dom-repeat.html
2017-06-06 17:24:57 -07:00
Justin Fagnani 3183e3f7c8 Add lib/utils/settings.html to hold legacy settings and rootPath 2017-06-06 08:25:32 -07:00
Petr Mikota d6941a34aa Fix typo in dom-repeat.html
"should me made" -> "should be made"
2017-06-06 00:29:16 -07:00
Fred K. Schott c3866a591b guard all dommodule references 2017-06-05 17:54:06 -07:00
Kevin Schaaf a29d88766b Fix parsing for argument whitespace. Fixes #4643. 2017-05-31 11:21:28 -07:00
Steve Orvell 49cb5c4dc5 Merge pull request #4633 from Polymer/shadyChildrenObserver
Fix typo in prop of FlattenedNodesObserver
2017-05-30 16:47:20 -07:00
Steve Orvell 1b03448fe0 Merge pull request #4623 from Polymer/4597-kschaaf-contentForTemplate
Fix impl of _contentForTemplate. Add template-stamp tests.
2017-05-26 18:47:33 -07:00
Peter Burns 57fe7dca2e Fix typo in prop of FlattenedNodesObserver 2017-05-25 17:42:19 -07:00
Daniel Freedman 061b104842 [ci skip] Prepare 2.0.1 2017-05-25 14:07:42 -07:00
Steve Orvell 520407e9ca Merge pull request #4608 from Polymer/fix-4601
Ensure data flows correctly when enabling properties when client elements have already enabled
2017-05-25 14:04:34 -07:00
Kevin Schaaf 06190c9db2 Fix impl of _contentForTemplate. Add template-stamp tests.
Fixes #4597
2017-05-23 10:23:05 -07:00
Steven Orvell 39877086c7 Improve comment more 2017-05-22 18:06:05 -07:00
Steven Orvell fa1469a939 Improve comment 2017-05-22 18:05:35 -07:00
Steven Orvell 250067b389 Add comment. 2017-05-22 17:53:52 -07:00
Steven Orvell 8e8692f70c * Improve clarity: change __dataInitialized to __dataReady
* When `_flushClients` is called, ensure that clients are always enabled or flushed as appropriate. This ensures that (1) clients that are enabled before the host is enabled flush properly, and (2) clients that are stamped but not enabled properly enable when the host flushes.
2017-05-22 17:51:15 -07:00
salvador-barboza 6bd8dcfac2 Fix typo in runBindingEffect documentation 2017-05-20 13:42:29 -05:00
Steven Orvell 06df53d998 Fixes #4601. Client elements can be readied that have already enabled properties. This can happen when templatize is used to create instances with no properties. In this case, in order for properties to flush properly to clients, clients must be flushed. 2017-05-17 17:00:33 -07:00
Daniel Freedman 712230fc8d [ci skip] bump version to 2.0.0 2017-05-15 11:24:54 -07:00
Kevin Schaaf 99abf95502 v2.0.0-rc.9 2017-05-12 20:36:45 -07:00
Steven Orvell b943aa0d0b [skip ci] doc fixes 2017-05-12 19:52:57 -07:00
Steven Orvell 4eb252fefd Docs and slight renaming. 2017-05-12 15:29:55 -07:00
Kevin Schaaf c7a81ea8a5 Move hostStack to property-effects and make readyClients explicit 2017-05-12 13:06:50 -07:00
Steven Orvell 2f1e964c1f Turn on accessors (via __dataInitialized) only after clients have completely flushed. 2017-05-12 12:30:59 -07:00
Steven Orvell c6f9b31578 Adds _enableProperties as a new entry point that must be called to turn on properties. Prevents a bug where _readyClients can be called twice. 2017-05-12 11:50:27 -07:00
Daniel Freedman 90e8cd9502 [ci skip] Fix doc createPropertyEffect -> addPropertyEffect 2017-05-12 11:47:21 -07:00
Kevin Schaaf f197ce240e Accept boolean or object map for dynamicFns 2017-05-11 16:58:50 -07:00
Kevin Schaaf 4223043748 Null the links when unbinding. 2017-05-11 16:36:39 -07:00
Kevin Schaaf e97a6eb779 Dedupe API docs. 2017-05-11 16:27:46 -07:00
Kevin Schaaf 7497065a08 Add static API for creating property fx and minor code refactoring. 2017-05-11 14:08:36 -07:00
Daniel Freedman eb9c5af754 Merge branch '2.0-preview' 2017-05-10 11:21:58 -07:00
Steve Orvell 35c026eba3 Merge pull request #4586 from Polymer/fix-4585
Data notifications do not flush host if host has not initialized clients
2017-05-05 15:14:18 -07:00
Steven Orvell 6f1dde7669 Fix comment. 2017-05-05 14:53:17 -07:00
Steven Orvell 3b6981d46f Fixes #4585. Data notifications do not flush host if host has not initialized clients. This preserves the Polymer 1.x guarantee that client dom is fully “readied” when data observers run. 2017-05-05 14:48:38 -07:00
Kevin Schaaf d72baf9da6 Ensure no warnings for dynamic fns. Fixes #4575 2017-05-04 15:20:25 -07:00
Anurag Pathak 8a2aeb653b Corrected minor Method comments 2017-05-03 19:48:33 +05:30
Steve Orvell a284d77d83 Merge pull request #4571 from Polymer/4550-remove-disable-upgrade
Removes the `disable-upgrade` feature from Polymer 2.0.
2017-04-28 09:49:06 -07:00
Kevin Schaaf 972b2babe3 Removes the disable-upgrade feature from Polymer 2.0.
Due to #4550, the feature has a flaw for native ES6 classes and would be better implemented as either a mixin or patch to `customElements.define`.
2017-04-27 17:42:21 -07:00
Kevin Schaaf e90ef30d79 Ensure tags in markdown are backtracked.
Short-term stopgap to ensure they are not rendered in HTML.
2017-04-27 16:17:36 -07:00
Steven Orvell 5be7ec99c8 update debounce example. 2017-04-20 17:34:41 -07:00
Steven Orvell 36792f94d2 Fixes #4553, #4554 2017-04-20 17:08:12 -07:00
Steve Orvell e3026618a5 Merge pull request #4546 from Polymer/4542-kschaaf-transitive-links
Process paths regardless of accessor, & loop on computeLinkedPaths.
2017-04-19 15:19:03 -07:00
Kevin Schaaf 73df8c5b73 Add more tests. 2017-04-19 11:57:34 -07:00
Kevin Schaaf d722cb9c41 Move computeLinkedPaths out of hot path and into sync setter. 2017-04-19 10:17:43 -07:00
Kevin Schaaf 85184e8b1a Fix test for fallback _readyClients. Fixes #4547 2017-04-18 14:14:30 -07:00
Kevin Schaaf e2d170206f Process paths regardless of accessor, & loop on computeLinkedPaths.
Fixes #4542
2017-04-18 12:52:39 -07:00