Commit Graph

3555 Commits

Author SHA1 Message Date
Kevin Schaaf
59c27fa4c3 Clean up cruft. 2015-10-30 20:14:05 -07:00
Kevin Schaaf
e99e5faa89 Add tests and fix issues. 2015-10-30 19:57:39 -07:00
Kevin Schaaf
e9aebd72ad dom-repeat chunked/throttled render API 2015-10-30 18:20:45 -07:00
Arthur Evans
56734a7afa Fix formatting. 2015-10-30 15:58:09 -07:00
Arthur Evans
492f3107f9 Add notes on running unit tests. 2015-10-30 15:52:13 -07:00
Arthur Evans
5168604beb Corrected method name. Fixes #2649. 2015-10-30 14:01:20 -07:00
Steven Orvell
53f3a7d069 Fix typos in more efficient array copying. 2015-10-30 12:18:58 -07:00
Steven Orvell
71b5c2a1a0 Adds Polymer.RenderStatus.afterFirstRender method. Call to perform tasks after an element first renders. 2015-10-30 11:45:19 -07:00
Steven Orvell
320d5c7ab1 More efficient array management in Polymer.DomApi. 2015-10-30 11:44:00 -07:00
Steven Orvell
e35c4e91e2 Fixes #2652 2015-10-30 11:41:56 -07:00
Daniel Freedman
0dc69dfbe5 [ci skip] update changelog 2015-10-29 15:34:33 -07:00
Daniel Freedman
5a755342ef [ci skip] prepare v1.2.1 2015-10-29 15:31:59 -07:00
Steve Orvell
f9d086b2f0 Merge pull request #2637 from Polymer/deepcontains
Add `Polymer.dom.deepContains`
2015-10-29 15:22:02 -07:00
Daniel Freedman
dd8b3e99cd Fix test for SD polyfill
SD polyfill querySelector does not count undistributed content
2015-10-29 15:05:48 -07:00
Steve Orvell
f58d9faf54 Merge pull request #2646 from Polymer/2556-kschaaf-scope-conflict
Ensure outer paths aren't forwarded to instance props. Fixes #2556.
2015-10-29 14:56:01 -07:00
Kevin Schaaf
89304dc474 Add pre-condition check for completeness. 2015-10-29 14:39:27 -07:00
Daniel Freedman
8e6f55ad7f Find non distributed children with deepContains
Walk logical tree when necessary
2015-10-29 14:29:49 -07:00
Steve Orvell
d61a5d8272 Merge pull request #2611 from Polymer/fix-descendant
isLightDescendant should return false for self
2015-10-29 14:27:10 -07:00
Kevin Schaaf
01273e9358 Ensure outer paths aren't forwarded to instance props. Fixes #2556. 2015-10-29 11:33:03 -07:00
Steven Orvell
d7d0ed6217 Fix whitespace around bindings. 2015-10-28 12:54:20 -07:00
Steven Orvell
35a1b942ad Add support for strip-whitespace. Should fix #2511. 2015-10-28 12:21:16 -07:00
Steven Orvell
f7d86e9a09 Improve efficiency of attribute configuration. 2015-10-27 17:40:56 -07:00
Steven Orvell
25aab8b43f Remove use of Function.bind 2015-10-27 17:39:07 -07:00
Daniel Freedman
279bf63e77 Add Polymer.dom.deepContains
- Also add tests
2015-10-27 12:10:17 -07:00
Steven Orvell
5fb20da21b fix typos. 2015-10-26 20:18:22 -07:00
Daniel Freedman
30da1b3d90 Merge pull request #2322 from nazar-pc/fix-for-mixins-parsing
Fix for mixins declaration with space before colon
2015-10-26 13:47:48 -07:00
Steven Orvell
8bdedf3ba8 Re-use data change events. Remove unused/undocumented listener object specific node listening feature. 2015-10-22 19:02:10 -07:00
Daniel Freedman
e1f83d29a2 [ci skip] Update CHANGELOG 2015-10-22 17:47:46 -07:00
Daniel Freedman
ec6b18f3e4 [ci skip] prepare for 1.2.0 release 2015-10-22 17:41:38 -07:00
Kevin Schaaf
3703149a7c Merge pull request #2602 from Polymer/simpler-travis
A simpler travis config
2015-10-22 17:28:58 -07:00
Monica Dinculescu
a0debf4e86 isLightDescendant should return false for self 2015-10-22 14:54:43 -07:00
Daniel Freedman
3338b6713b A simpler travis config
Most of the config work pushed to wct
2015-10-20 17:12:53 -07:00
Steven Orvell
2ba08eca68 Add flattened properties to dom-bind, templatizer, optimize by 'liming properties that are protected/private and not readOnly from list. 2015-10-20 14:07:03 -07:00
Steven Orvell
acdd242616 Use flattened list of properties for fast access during configuration and attribute->property 2015-10-20 13:07:50 -07:00
Steven Orvell
4745e8fb46 Assemble effect strings at prototype time. 2015-10-19 17:09:43 -07:00
Steven Orvell
d3c4611a76 Fallback to string lookup to fix support for extra effects. 2015-10-19 16:50:22 -07:00
Steven Orvell
ead9adb861 Fix typo. 2015-10-19 16:41:03 -07:00
Steven Orvell
1d29e190e7 Correct NodeList copying. 2015-10-19 16:24:45 -07:00
Steven Orvell
9c5a404d3a Avoid Polymer.dom.setAttribute when unneeded. 2015-10-19 14:43:49 -07:00
Steven Orvell
23a9a068b4 More efficient iteration. 2015-10-19 14:43:27 -07:00
Steven Orvell
ebeaf807a7 Avoid forEach 2015-10-19 14:43:06 -07:00
Steven Orvell
8cad475cb3 Copy dom NodeList faster than slice. 2015-10-19 14:42:42 -07:00
Steven Orvell
e2674bc3a0 Avoid function lookup by string. 2015-10-19 14:42:14 -07:00
Eric Bidelman
ce2c2ce6c8 Merge pull request #2572 from samccone/patch-1
contributing copy fixup
2015-10-18 09:25:41 -07:00
Tim van der Lippe
6f21ae6d2a Add test for parsing multi-line css comments
Closes #2455
2015-10-18 16:21:06 +02:00
Kevin Schaaf
f10deb11b5 Merge pull request #2588 from Polymer/fix-2587
Fix #2587: When Polymer.dom(el).appendChild(node) is called, cleanup …
2015-10-16 17:49:09 -07:00
Steven Orvell
0d4f418b61 Fix #2587: When Polymer.dom(el).appendChild(node) is called, cleanup work must be performed on the existing parent of node. This change fixes a missing case in this cleanup work: if the existing parent has a observer via Polymer.dom(parent).observeNodes, it needs to be notified that node is being removed even if the node does not have specific logical info. For example, if an observed node has no Shady DOM and has a child that is removed. A test for this case was added. 2015-10-16 17:27:51 -07:00
Kevin Schaaf
1c118e5086 Merge pull request #2586 from Polymer/add-travis-badge
add fancy travis status badge to the readme
2015-10-16 15:09:11 -07:00
Steve Orvell
cb60513ea2 Merge pull request #2585 from Polymer/2583-kschaaf-compound-literal
Do not configure compound property/attribute binding if literal if em…
2015-10-16 15:05:18 -07:00
Daniel Freedman
e29fca85bb add fancy travis status badge to the readme 2015-10-16 14:58:10 -07:00