Questions tagged [ember.js]

Ember.js is a component-service application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)

Ember.js is a application framework distributed under an open source license.

Ember.js provides a templating mechanism based on templates for view components, as well as facilities for an easy and tightly-integrated test process. It is easily embeddable into existing applications.


Getting Help

The Stack Overflow tag is actively monitored by several contributors to Ember. There is also an official Discord server. Other resources can be found on the Ember.js community page

Additionally Ember.js has a page on Debugging: Debugging Ember

Technical questions that are accompanied by working code make it easier for other to help give good answers.

To report bugs against Ember.js, or to propose new functionality, create an issue on the GitHub project.

Packages and add-ons

You can find various packages, add-ons on these websites:

Preconfigured Templates

Use these templates to help create an easier to answer question.

Related Stackoverflow Tags

Resources/Tutorials

23976 questions
28
votes
4 answers

Super slow preflight OPTIONS in Chrome only

I've been struggling recently with a super-weird problem only happening in Chrome: as my API (NodeJS) is on a different subdomain, I need to use CORS to reach it from my front-end (EmberJS). It's working pretty well but I'm very frequently (95% of…
Benjamin Netter
  • 1,501
  • 3
  • 18
  • 34
28
votes
1 answer

Ember upgrade breaks one test, and only in Safari

I'm trying to catch a Heisenbug. I'm updating our project from Ember CLI 0.2.0 and Ember 1.10.0 to Ember CLI 0.2.3 and Ember 1.11.1. This has been a pretty pain-free process, but I have exactly one test which now fails in Safari (7.1.5) only. It…
pjmorse
  • 9,204
  • 9
  • 54
  • 124
28
votes
2 answers

How to access controller from route in Ember?

Is there any foolproof way to access controller from a route? add App.ApplicationRoute = Ember.Route.extend events: someAction: (user) -> console.log 'give me name from…
wryrych
  • 1,765
  • 4
  • 20
  • 31
28
votes
2 answers

Right way to do navigation with Ember

What's the "right way" (or at least the options, if there is no single "Ember way" of doing this) for a navigation sidebar? Should I be looking at ContainerViews somehow, or should I just use the new outlet feature and stick the navigation inside my…
user1499207
  • 305
  • 1
  • 4
  • 7
27
votes
3 answers

Disable / turn off LiveReload server in Emberjs / Ember-cli

I use Cloud9 IDE, which only exposes port 80 and prevents LiveReload from connecting. I get this error: GET https://myapp.c9.io:35729/livereload.js?snipver=1 net::ERR_CONNECTION_REFUSED Unless someone knows of a fix, I'd like to simply turn this…
James Gentes
  • 7,528
  • 7
  • 44
  • 64
27
votes
3 answers

How can I trigger an action programmatically?

I have this view App.ApplicationView = Em.View.extend({ templateName: 'application', actions: { myAction: function() { // } } }); Suppose I want to trigger manually that action from another view method, such as…
Flavio Copes
  • 4,131
  • 4
  • 27
  • 30
27
votes
1 answer

How to reload an ember data record?

I'm using the new router and ember data rev 11. I have a need to force ember-data to re-load data for a record from the server. Using App.MyRecord.find(2) in setInterval function loads the data from the client local store. How can I reload the…
ramigg
  • 1,287
  • 1
  • 15
  • 16
27
votes
4 answers

Emberjs: Get the current element

I am looking for something that's similar to the this of jQuery. I'm going to list below the code I have: