Quantcast
Browsing all 4826 articles
Browse latest View live

Get current model data in acceptance test

@JordanRDesigns wrote: I am trying to access the model being returned after visiting a url in an acceptance test. I am not outputting any of it to a template since I will be taking some of it and...

View Article


Image may be NSFW.
Clik here to view.

Minimum system requirements to run Ember CLI

@joseph_dillon_522 wrote: Ember CLI is unbearably slow on my machine. For example: Build successful - 80898ms. Slowest Trees | Total...

View Article


Difference between initializers and instance-initializers

@efx wrote: Applies to Ember in general but mostly pertains to an ember-cli application. I curious about the background to these ways to initialize parts of an Ember application. What is the exact...

View Article

Image may be NSFW.
Clik here to view.

Embedded Component question

@gkaplan wrote: I have a requirement where a form contains a list of compound input fields, each consisting of a text field with a checkbox add-on: Pasted image1123x364 26 KB It's important to realize...

View Article

Unconventional store.find with not existing model

@szsoppa wrote: I'm trying to fetch two model data from server: event and its participants. Endpoints look like this: /events/:id for event /events/:id/participants for event participants Participants...

View Article


Index loads but ember app content does not

@jeffreyg wrote: Occasionally my index page of my site loads but my app content does not. Looking at my main.js file I found the router and wondering if there is something incorrect within it to cause...

View Article

findAll() strange behavior

@Yaroslav_Poliakov wrote: Hi all! I have the following computed property in a controller: ingredients: function() { var self = this; this.store.findAll('ingredient').then(function() { var ingredients...

View Article

Image may be NSFW.
Clik here to view.

Best practice modelling polymorph relationship

@mkconn wrote: I've searched here and also the net, but I have to admit, that I did not really understand how to do this... I have some models which relate to each other: relations.png680x697 40.9 KB...

View Article


Extending default blueprints

@varblob wrote: Does anyone know if there is a good way to extend the default blueprints. All I can see is a way to override them except they do a lot of good stuff I would prefer not to have to redo....

View Article


How to get a component's instance from within an eventManager object

@ctusch wrote: When I have a component with an eventManager how can I get the instance of the component from within a handler? The handler's second parameter contains only the component clicked on,...

View Article

Image may be NSFW.
Clik here to view.

Loading Multiple Models with Ember.RSVP and $.getJSON

@Koala wrote: I am trying to load multiple models with Ember $.getJSON. Initially i created the models objects successfully in separates routes but i need now to create them in the same route. I am...

View Article

Should I start a new project in 1.13 (or 1.10) or 2.2?

@andrew1 wrote: I'm about to start my next Ember project and I was looking for a little guidance on which version to start with. I first started playing with 1.13 and quickly got a test app up to look...

View Article

Using {{yield}} for multiple nested components

@bttf wrote: If a component has two or three levels of descendant components, it can get a little annoying when having to pass down a parameter that is only needed by the last descendant all the way...

View Article


Is it still ok/desirable to use DS.Store.filter in Ember Data 2+?

@ozzyoli wrote: The Ember (+Ember Data) guides no longer seem to discuss using Store.filter for V2.0+. I was wondering if it is no longer considered good practice to use? I use Websockets and periodic...

View Article

Component to controller one-way communication

@valo wrote: Hi, I am working on a fairly complex Ember application and I am trying to split the app into separate components for better maintainability and also to move away from controllers as much...

View Article


Ember as an addon

@scudco wrote: I was just listening to Ember Weekend and they mention that Ember Data had been pulled out into an Ember addon https://github.com/emberjs/data/pull/3907 They also expressed excitement...

View Article

Testing Ember.Logger.error assertions

@nullnullnull wrote: I'm using Ember.Logger.error: if (isInvalid) { Ember.Logger.error('this is invalid'); } I want to test it in qunit: assert.throws(() => myFunction(), /this is invalid/, 'error...

View Article


Ajax request to port 80

@ioanszabo wrote: Hi, I am using ember-cli, so I use port 4200 to launch the application. Anyway my backend is an apache with php mysql. My question is: can I launch application on port 4200 and ajax...

View Article

Image may be NSFW.
Clik here to view.

How to fix DEPRECATION Using Application.registry.resolve

@gkaplan wrote: I am using Ember 2.2, Ember Data 2.1, and just updated to ember-cli 1.13.12. My app is still in infancy - I added a mock http service today and now I'm getting the following...

View Article

Testing a facebook application

@sergio_101 wrote: I am wondering how to go about testing a Facebook application using the included testing framework. The idea is that a Facebook application is just a web app (ember app in this...

View Article
Browsing all 4826 articles
Browse latest View live