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

Added Serenade.js example #409

Merged
merged 1 commit into from
Jan 29, 2013
Merged

Conversation

jnicklas
Copy link
Contributor

So this took me way too long, but here, finally, is a todomvc implementation with Serenade.js. I've gone through the specification a couple of times, and I think I have everything in place, let me know if I made any mistakes.

One thing I'm not sure about is that the specification mentions a list of browsers that need to be supported, but the link is broken. Since Serenade doesn't support IE8 or below, obviously the app is not going to work there. Not sure if that's a problem.

Fixes #90

@addyosmani
Copy link
Member

I think that we're reasonable when it comes to browser support. If your framework isn't IE8 compatible, obviously we won't expect you to bake in support just for that browser. Thanks for the implementation!

We'll review this shortly.

form[event:submit=newTodo!]
h1 "todos"

input#new-todo[binding:change=@newTitle placeholder="What needs to be done?" autofocus="autofocus"]
Copy link
Member

Choose a reason for hiding this comment

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

autofocus="autofocus" -> autofocus

@sindresorhus
Copy link
Member

Very nice. I think is the least comments I've ever done on a PR here, and most of it is super nitpick.

I also like how compact it is :)

Can you move it to the labs/architecture-example folder?

@jnicklas
Copy link
Contributor Author

I just re-pushed this, moved to the labs folder, and I fixed the issues you found, except for "autofocus". Serenade doesn't support shorthand properties, unfortunately. I've had it requested from a few people, so I'll hopefully add it soon.

sindresorhus added a commit that referenced this pull request Jan 29, 2013
@sindresorhus sindresorhus merged commit 1d4e417 into tastejs:gh-pages Jan 29, 2013
@sindresorhus
Copy link
Member

Thanks for eventually doing this @jnicklas :)

@sindresorhus sindresorhus mentioned this pull request Feb 1, 2013
gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this pull request Dec 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants