Giter Site home page Giter Site logo

ember-code-camp's Introduction

Motivation

  • I wanted to learn ember.js and ember-data ... but wanted to see more than console.log('hello world')

To run this django application

To run the jasmine unit tests

  • npm install
  • node node_modules/jasmine-phantom-node/bin/jasmine-phantom-node codecamp/static/script/tests

If you are just stopping by to see the ember.js source

ember-code-camp's People

Contributors

toranb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ember-code-camp's Issues

Where is that match var into router is passed?

Your router code has:

CodeCamp.Router.map(function(match) {
    match('/').to('sessions')
});

But when I refresh the index page,

Uncaught TypeError: undefined is not a function app.js:46641
Uncaught Error: No route matched the URL '' 

And if I replace that with:

CodeCamp.Router.map(function() {
   this.resource('sessions');
});

Then the error is gone.
Searched for the docs and all google, nothing I found about that match var passing into the function.
How it worked with your screencast?

Can't bookmark a page that is not the root url

I've got your demo app up and running locally. Everything seems to work correctly, I can add ratings and the forward and back browser buttons work fine. I found that if I refresh the page on the session details page I loose some data.

Here is a screenshot before a refresh:

Screen Shot 2013-01-04 at 11 42 27 PM

And after:

Screen Shot 2013-01-04 at 11 42 39 PM

What needs to be done to make it so I can go directly to a session details page via a bookmark or an emailed link?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.