1. 12 Jan, 2015 1 commit
  2. 09 Jan, 2015 3 commits
  3. 08 Jan, 2015 3 commits
  4. 07 Jan, 2015 2 commits
  5. 06 Jan, 2015 1 commit
  6. 05 Jan, 2015 1 commit
  7. 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
  8. 18 Dec, 2014 2 commits
  9. 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
  10. 02 Dec, 2014 1 commit
  11. 27 Nov, 2014 1 commit
  12. 25 Nov, 2014 2 commits
  13. 21 Nov, 2014 1 commit
  14. 20 Nov, 2014 3 commits
  15. 18 Nov, 2014 1 commit
    • Ojan Vafai's avatar
      First step at getting rid of anonymous blocks and continuations. · 85817b24
      Ojan Vafai authored
      -Add RenderParagraph and display:paragraph. This is the only
      render type that's allowed to contain inlines or text.
      -If you put text nodes directly in a non-paragraph, wrap them
      in an anonymous paragraph. This may not be the place we want
      to end up, but it's a good stopgap to make it so we don't
      crash in this case.
      -Make StyleAdjuster force that non-paragraph blocks only contain
      RenderBlock subclasses and that paragraphs and inlines only contain
      inlines.
      -Considerably simplify addChildIgnoringAnonymousColumnBlocks
      now that we only create anonymous blocks for the case of
      text nodes in non-paragraphs. Also get rid of the behavior
      where we try to group multiple nodes into a single
      anonymous block.
      
      R=esprehn@chromium.org
      
      Review URL: https://codereview.chromium.org/729693003
      85817b24
  16. 17 Nov, 2014 7 commits
  17. 14 Nov, 2014 2 commits
  18. 13 Nov, 2014 3 commits
  19. 12 Nov, 2014 1 commit
  20. 06 Nov, 2014 1 commit
  21. 05 Nov, 2014 1 commit
  22. 04 Nov, 2014 1 commit