Comments (5)
I'm a newbie with EmberJS and like you had some problems with this guide.
To solve my specific problem, which had symptoms like yours, I used the Console to figure out exactly which bit of the code was causing the "undefined is not a function" error.
If you enter "x=this.currentModel" into your Console, what value does it display?
If you enter "x=this.currentModel.save" into your Console, does the error now appear?
from guides.
Please see below screen, seem the route just have no method name transitionToRoute?
from guides.
route does have a method "transitionTo", though, which is what I have in my new.js.coffee script. I'm not sure what the difference is, or why the guide uses transitionToRoute in some places and transitionTo in other places.
The following throws some light on the matter, perhaps:
http://www.smashingmagazine.com/2013/11/07/an-in-depth-introduction-to-ember-js-2/#transitionTo_or_transitionToRoute
PS I like that you included screenshots - it makes it so much easier to see what people are talking about!
from guides.
I was seeing an error when I was writing the guide that transitionTo
was deprecated, but I cannot remember what context. It appears that transitionTo is the right method, and so the guide should use that.
from guides.
This is now fixed in the guide.
from guides.
Related Issues (20)
- Bundler's rake tasks for gem development HOT 1
- issue with require foodie/food
- aruba tests should use backticks
- Gem development: Cucumber not running executable in bin HOT 1
- gem-development.md: You don't have i18n installed in your application HOT 1
- README out of date
- Bro i'm going to disrupt your life if you push my fucking buttons HOT 2
- Too Many Gems... HOT 4
- ember.md HOT 1
- ember.md Posts array HOT 4
- Post show route defined incorrectly HOT 1
- Routing error in Chrome inspector during Ember guide HOT 4
- Ember guide: new post path HOT 1
- Ember guide: creating a new post bug HOT 1
- Ember guide: bad <a> for destroy action HOT 1
- 404 Page not found HOT 2
- Gem development and Spring! HOT 2
- Gem Development guide improvements HOT 6
- gem-development.md `gem bump` Unknown command bump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guides.