Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Fixed jade syntax in ES6 example #45

Merged
merged 1 commit into from
Mar 31, 2015
Merged

Fixed jade syntax in ES6 example #45

merged 1 commit into from
Mar 31, 2015

Conversation

beeant
Copy link
Contributor

@beeant beeant commented Mar 31, 2015

I actually tried the example using webpack and got an expected "indent", but got "outdent" error

hemanth added a commit that referenced this pull request Mar 31, 2015
Fixed jade syntax in ES6 example.
@hemanth hemanth merged commit b97bc9b into pugjs:master Mar 31, 2015
@hemanth
Copy link
Member

hemanth commented Mar 31, 2015

Thanks.

@@ -74,7 +74,8 @@ If you are using ES6 server side, or the browserify transform client side (even
var TodoList = React.createClass({
render: jade`
ul
each item in this.props.items
- each item in this.props.items
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be a - here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ya. It has been changed?
http://jade-lang.com/reference/iteration/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall I revert? Or wait for a new PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants