1. 27 Jan, 2015 2 commits
  2. 26 Jan, 2015 4 commits
  3. 24 Jan, 2015 1 commit
  4. 23 Jan, 2015 2 commits
    • Adam Barth's avatar
      Remove touch events from Sky · 106c5322
      Adam Barth authored
      We use pointer events instead.
      
      R=esprehn@chromium.org
      
      Review URL: https://codereview.chromium.org/868133003
      106c5322
    • Elliott Sprehn's avatar
      Don't set expression attributes before they're bound. · 0b73de95
      Elliott Sprehn authored
      We were cloning elements with all the attributes that contained
      expressions like attrName="{{ foo }}" which meant we'd go through the
      reflection process converting that value and also call the
      attrNameChanged() callback and the attributeChanged() with the braced
      string which the element didn't really want to know about.
      
      After this patch we create a "clone source node" which is a copy of the
      original element without the attributes that have the expressions and
      use that when cloning, then we assign the properties using data binding
      later.
      
      R=abarth@chromium.org, ojan@chromium.org
      
      Review URL: https://codereview.chromium.org/868973002
      0b73de95
  5. 22 Jan, 2015 1 commit
  6. 16 Jan, 2015 2 commits
  7. 15 Jan, 2015 2 commits
  8. 14 Jan, 2015 2 commits
  9. 13 Jan, 2015 1 commit
    • Hixie's avatar
      Examples: move markAsLaidOut() to just before the return, so the asserts work · 7598f1fd
      Hixie authored
      Specs: introduce layoutDescendants() to avoid work when a layout
      manager is unaffected by its childrens' intrinsic dimensions
      Examples: update for layoutDescendants() change
      Specs: add "lifetime" to resolver settings so that a transition can
      avoid having to dirty every consumer of the property every frame when
      it only needs to update the objects that are changing that frame
      Specs: expose the parents on AbstractStyleDeclarationList subclasses
      Specs: fix documentation around autoreap
      Specs: fix definition of setProperty()
      Specs: clean up the dimension-related logic of layout managers
      
      Review URL: https://codereview.chromium.org/850593003
      7598f1fd
  10. 12 Jan, 2015 1 commit
  11. 09 Jan, 2015 3 commits
  12. 08 Jan, 2015 3 commits
  13. 07 Jan, 2015 2 commits
  14. 06 Jan, 2015 1 commit
  15. 05 Jan, 2015 1 commit
  16. 19 Dec, 2014 1 commit
    • Elliott Sprehn's avatar
      Add declarataive event handlers. · e1e71107
      Elliott Sprehn authored
      Now inside the <template> of a SkyElement you can use
      on-eventName="method" on any element to add event listeners.
      
      For example you can write <sky-button on-click="handleClick">
      and then define handleClick(event) on the element class that
      contains the button.
      
      In adding this and tests I also realized that property bindings
      were not setup on the initial call to bind(), which is now
      fixed in this patch (See change to Node.prototype.bind).
      
      R=eseidel@google.com, rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/812713005
      e1e71107
  17. 18 Dec, 2014 2 commits
  18. 17 Dec, 2014 1 commit
    • Elliott Sprehn's avatar
      Make SkyElement more classy. · 5f6c32c2
      Elliott Sprehn authored
      The syntax for implementing a SkyElement is now:
      
      <sky-element name="element-name">
      <template>
        <!-- template here -->
      </template>
      <script>
      module.exports = class extends SkyElement {
        attached() {
           // ...
        }
        // .. methods here ..
      }.register();
      </script>
      </sky-element>
      
      The register() static method on SkyElement subclasses calls
      document.registerElement() and returns the generated constructor.
      It uses the parent <sky-element>'s name attribute to set the name
      of the element.
      
      R=rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/788943003
      5f6c32c2
  19. 02 Dec, 2014 1 commit
  20. 27 Nov, 2014 1 commit
  21. 25 Nov, 2014 2 commits
  22. 21 Nov, 2014 1 commit
  23. 20 Nov, 2014 3 commits