Tagged Questions
Ember.js is an advanced HTML5 MVC application framework written in JavaScript and distributed under an open source license.
0
votes
1answer
6 views
How to trigger a computed property using the global ember-data store?
App.FooController = Ember.ObjectController.extend({
available: function() {
var all = this.store.all('bar');
}.property()
});
When another model "bar" is added to the global ...
0
votes
1answer
13 views
Why are scrollbars appearing on my site on mobile devices?
I'm trying to make a small project site that's responsive using twitter-bootstrap and ember.js.
It looks great on desktop and mostly scales to mobile devices except for one thing: x and y scrollbars ...
0
votes
1answer
20 views
Ember.js didInsertElement issue on application load
I'm having a context issue within Ember.js and I'm not sure the way to handle it. The newrecord and editrecord views use didInsertElement to load external libraries. However, when I start my ...
0
votes
1answer
34 views
Like discourse is to Ember.js, what are some big open source project written rails + angularjs?
Discourse is a open source project written in rails and Ember.js so its a really good resource in case someone is looking to learn rails or Ember.js.
I am wondering are there are any fairly large ...
0
votes
1answer
11 views
Ember.js: Wrapping Ember.Checkbox with another element that uses its ID
I'm trying to use a third-party checkbox with Ember and am having trouble getting it to work. The third-party checkbox needs markup like this:
<input type="checkbox" id="foo" name="bar" ...
0
votes
1answer
11 views
Ember Controllers w/ Ember Data
I am having a lot of issues with returning data from a controller/accessing data from the store and manipulating it. If anyone could take a look at my example here, I'm trying to compile a data ...
0
votes
0answers
13 views
ember-couchdb-kit fails all Jasmine specs
I'm trying to use the ember-couchdb-kit adapter built by roundscope, but it's not working as expected.
When I follow the instruction to rake jasmine, it fails all 20 specs, all with the same error,
...
0
votes
2answers
21 views
Ember.js: Pathless Transitional Route
New to ember.js. What I'm trying to do is: create a transitional route that has no path, that I can pass an AJAX promise to as the model when I transition to it, and then it makes a redirect decision ...
0
votes
1answer
21 views
Learning Ember.js- Persistence In Many To Many Relationships
To learn Ember.js I started writing a small bookmark application. I'm struggling with issues related to wrong data handling now.
To Explain The Application
User can add label
User can add links to ...
0
votes
1answer
14 views
Iterating through child components
I have button-group component which contains a set of button-element components. The template is defined as:
{{#each buttons}}
{{button-element titleBinding="title" action="buttonAction"}}
...
0
votes
2answers
20 views
Ember.js: Computed property on current element in array
So, this is what my model looks like (represented by fixture data):
var posts = [{
id: 'b026324c6904b2a9',
title: "My new front door",
author: { name: "Matthieu" },
date: new ...
0
votes
1answer
14 views
Ember-App-Kit: How to execute code only in release mode?
I have created an error handler as described here:
http://emberjs.com/guides/understanding-ember/debugging/#toc_implement-a-code-ember-onerror-code-hook-to-log-all-errors-in-production
But this code ...
0
votes
0answers
20 views
Create a Collection which is an union of several collections (EmberJS)
I'm trying to display a list which is the union of a list of lists.
My models
I got two hasMany relations linking a movie to a library
+---------+ hasMany +---------+ hasMany +-------+
| ...
0
votes
1answer
27 views
ember-data - store.find('model') always queries the server
Details: ember-data-1.0.0.beta.3 and the default RESTAdapter
I might have misunderstood how the store.find() method works, but, from from my understanding, the following code should not query the ...
0
votes
1answer
17 views
Ember- Binding Controller Value To Application Controller
For a proof of concept I tried to bound one value of a controller x to the application controller.
To be more specific, I bound the title property to the corresponding title property on the ...