-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
TodoMVC using Mojito (v0.5.6 - with updates) #507
Conversation
Thanks for the update. For the next time, please force-push to your existing branch and don't open another PR, as @sindresorhus said. Having a new PR for every change gets really confusing quickly. |
@passy I know... I also have multiple PRs - it's painful as well! |
@caridy - Can you update your task at https://trello.com/card/review-todomvc-by-gaurav/504e5e3b7cd1578456fc430f/406 for this pull request? |
@gvaish Could you check our Contribution Guidelines and make sure to match the code style mentioned there? :) |
@passy Yikes. Seems like some work for me this weekend as well! Well, I think I'll pick this up early next week. |
Thanks @gvaish. We appreciate the extra time you're putting in to match our code style. Makes comparison a little more easy :) |
Anytime, @addyosmani! :-) |
@gvaish Todo using Mojito The files in the folder comprise of only the code and not the final running application. After all hits-and-tries realized that I cannot make it up and running on Github because the application needs to make calls to "POST /tunnel" and Github pages won't allow that. * readme.md: Readme * **/*: Code files @gvaish Updating latest code from the base project at https://github.com/gvaish/todomvc-mojito/tree/master/todomvc-mojito-common
Done.
|
@passy / @addyosmani - Can you look at it now? @caridy - Can you look at from Mojito's perspective... may be there's something that you may want to suggest / change / improve. Changes squashed at https://github.com/gvaish/todomvc/commit/ac94dbb0586c13f1a59302e5c421d2039ee318e7 |
@gvaish I'm very happy to see tests here. :) Could you run jshint with our config on your code? I'm still seeing a few styleguide deviations like |
"appPort": 6789, | ||
"staticHandling": { | ||
"appName": "todomvc", | ||
"useRollups": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The staticHandling
or useRollups
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userRollups
Done with my notes! I found nothing big, but few things that could be improved. +1 |
Thanks for reviewing, @caridy! |
Thanks a ton @caridy! I'd be in London Hackathon this weekend... will try to have a push before month-end (can't guarantee though). |
ping |
No response from the server. Service will come back to life next week (not weekend). |
* application.json: Added assets, cleaned up log * index.js: Deleted, required only for Manhattan * definition.json: Empty, removed * server.js: Updated
@sindresorhus Pong! :) |
@gvaish I can only comment on the code style as I'm not familiar with this framework. Make sure you follow our code style: https://github.com/tastejs/todomvc/blob/gh-pages/codestyle.md @stephenplusplus @passy anything to add? |
I'll be diving into this tonight. From first glance at the readme, getting up and running and the dependency of the other repo seem offputting, though I'm not sure there is a way to avoid this. |
I don't want to be a downer as any contribution to TodoMVC is great! However, this seems like more of a "labs" project than an official TodoMVC example. For starters, several files are prefixed with "Copyright (c) 2012 Yahoo! Inc. All rights reserved." However, if this is to be merged, here are just a few suggestions. As @sindresorhus mentioned, the code style stuff (small things): files currently mix tabs and spaces, rogue indentations, anonymous mojits/TodoMojit/assets/ looks like it is intended to hold the todomvc-common files. Please note these have changed, and Bower usage is preferred. Is it possible to use Bower for this dependency and/or any others that the app uses? If not, this folder should be updated to hold the contents from todomvc-common, and include them as well (notably, base.js is missing). Some functional things: The readme should definitely be expanded upon. Here are some questions and comments about the readme. Do I have to do the git clone and all of that, or does the TodoMVC repo contain everything I need? Why do todomvc-mojito-common and todomvc-mojito-server contain the same files?
After I clone your repo, there is a "todomvc-mojito-....", but no "todo-mojito-..." Also, what is Is there a reason not to include In general, I am unfamiliar with Mojito, so I'm a perfect candidate to get use out of this demonstration. In summary, I'm confused as heck! Thanks for your patience in working on this demo and tolerating my questions. I look forward to learning more! |
@stephenplusplus Quick response: Have a look at https://github.com/gvaish/todomvc-mojito/ for Detailed response: Framing it. |
@stephenplusplus Excellent as always. I'll also look over it after the next update. :) |
Tied up personally. Will take some time... |
@gvaish Thanks for letting us know. :) |
Pinging for a status check :) |
Hate to say, but will have to wait for a couple of weeks more :( |
@gvaish Thanks for the update! |
ping |
closing for lack of activity. We'll reopen when it's ready to be merged. (no need to open a new pr). |
Originally for #435 - couldn't find a way to update the same pull request - may be because I scratched the original fork rather than rebasing again.
Commit log
The files in the folder comprise of only the code and not the final running application.
After all hits-and-tries realized that I cannot make it up and running on Github because the application needs to make calls to
POST /tunnel
and Github pages won't allow that.