resthub / resthub-backbone-stack

RESThub Backbone.js stack
http://resthub.org/docs/backbone/
Other
56 stars 26 forks source link

Add moment.js to the stack. #71

Closed johanpoirier closed 11 years ago

johanpoirier commented 11 years ago

Go to http://momentjs.com/ to view the full documentation. It's a date library for parsing, validating, manipulating, and formatting dates. I added a 'formatDate' helper in handlebars to format date directly in the templates. I also added 5 additional languages (fr, es, it, ru, jp).

sdeleuze commented 11 years ago

Sorry I broke you pullrequest, could your update/merge your fork and push again please ?

johanpoirier commented 11 years ago

No problem, I'll do that as soon as I can.

johanpoirier commented 11 years ago

The test suite is stuck at "backbone-history: Route1", with or without my pullrequest. RestHubView issue ?

loicfrering commented 11 years ago

Looks like tests are passing on Travis: http://travis-ci.org/resthub/resthub-backbone-stack/builds/2788989. You see them failing locally?

sdeleuze commented 11 years ago

I tested it again in both Firefox and Chrome and tests are green. Be ware to run them with http:// protocol, not file:// protocol.

In order to acheive this easily, I run a mvn jetty:run and open http://localhost:8080/tests/

johanpoirier commented 11 years ago

OK, tests are green with http:// protocol. It used to pass with file:// protocol last week.