1. 09 Jan, 2015 1 commit
  2. 08 Jan, 2015 3 commits
  3. 07 Jan, 2015 2 commits
  4. 06 Jan, 2015 1 commit
  5. 05 Jan, 2015 1 commit
  6. 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
  7. 18 Dec, 2014 2 commits
  8. 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
  9. 02 Dec, 2014 1 commit
  10. 27 Nov, 2014 1 commit
  11. 25 Nov, 2014 2 commits
  12. 21 Nov, 2014 1 commit
  13. 20 Nov, 2014 3 commits
  14. 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
  15. 17 Nov, 2014 7 commits
  16. 14 Nov, 2014 2 commits
  17. 13 Nov, 2014 3 commits
  18. 12 Nov, 2014 1 commit
  19. 06 Nov, 2014 1 commit
  20. 05 Nov, 2014 1 commit
  21. 04 Nov, 2014 4 commits