Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to do interrupted chaining #6

Open
maael opened this issue Feb 25, 2016 · 0 comments
Open

Add ability to do interrupted chaining #6

maael opened this issue Feb 25, 2016 · 0 comments
Assignees
Labels

Comments

@maael
Copy link
Owner

maael commented Feb 25, 2016

Basic Example

var body = html.add('div'),
    content = body.add('p')
console.log(content.build())

Loop Example

var table = html.add('table')
for (var i = 0; i < 3; i++) {
  table.add('tr')
}
console.log(table.build())

Current Error

TypeError: Cannot read property 'parentNode' of undefined
  at appendToLastAtLevel (html.js:69:33)

❗ Requires new test ❗

@maael maael added the bug label Feb 25, 2016
@maael maael self-assigned this Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant