How to correctly write a unit/integration test for a service
@GCorbel wrote: Hi, I want a service that converts objects in json. For now, have this test : /* jshint expr:true */ import Ember from 'ember'; import { expect } from 'chai'; import { describeModule,...
View ArticleTrigger animations when page changes using Velocity
@kgish wrote: I would like to trigger a given animation specific to one or more elements (e.g. a collection of images within a given div) whenever a page is (re-)loaded or transitioned to. I've tried...
View ArticleReturn only events that have more than one booking inside
@Marcelo_Alves wrote: Hei guys, how are u? I'm having a hard time to figure it out a solution for my problem. I need return in my email page, only events that have more than one booking inside, and i...
View ArticleHow to do you check for `isDestroyed`?
@workmanw wrote: In our app, we've been practicing "routable component" patterns. E.G. not using controllers (except for query-params). One issue that comes up more any more is handling async promise...
View ArticleEmber Data numeric IDs
@accelerate wrote: This may seem like a really dumb question, but do models have to have numeric IDs? Or can they be anything alphanumeric? I ask because the data and backend I'm working with doesn't...
View ArticleExisting component check in js file
@gaurav_kumar1989 wrote: Hi , i need check whether a component is already existing or not in one js file , is there any way how to do this ? whether this is feasible or not ? Posts: 4 Participants: 2...
View ArticleComponent-Route Two way Communication
@mtangoo wrote: I have implemented register as component which handles Client side validation as well as other issues. When validation is ok I send registration data to route via sendAction. The...
View ArticleUsing Ember Data with Kinto?
@drewda wrote: Has anyone tried Ember Data with Kinto, "a lightweight JSON storage service with synchronisation and sharing abilities" from Mozilla: http://kinto.readthedocs.org/en/latest/ ? Posts: 1...
View ArticleWhat is index.json?
@andrew1 wrote: So, I think I understand how Ember uses index.html but I'm seeing errors with my index.json file. Can anyone explain to me what this is? My googling is turning up nothing. Thanks!...
View ArticleHow to use ember modal window
@anaspm wrote: I am learning ember and my app versions are DEBUG: Ember : 2.3.0 2016-02-02 10:23:42.418 ember.debug.js:6271DEBUG: Ember Data : 2.3.3 2016-02-02 10:23:42.418 ember.debug.js:6271DEBUG:...
View ArticleNaming mixin which is used as service (api call)
@harimath wrote: Generally my naming convention for mixin is feature_mixin.js However, for some classes (which are used to make api service calls), i have the naming as feature_service.js (Even though...
View ArticleQuerying store in ember object
@navneet35371 wrote: I was following this tutorial to http://coderberry.me/blog/2013/07/08/authentication-with-emberjs-part-2/ implement authentication. But i am not able to access the store in auth...
View ArticleAddon version and bower dependencies upgrade question
@tixn wrote: Let A be an addon in version a1, and let B be a bower dependency of that addon in version b1. The addon installs its bower package through the default blueprint like afterInstall:...
View ArticleAfter Migrating Ember 2.3.0 . Ace editor component issue happens?
@vinothwindows47 wrote: This is my old version ember component code ..... This code working fine ... export default Ember.Component.extend({ didInsertElement: function() { var self = this; var...
View ArticleDelete Multiple records
@Fernanda_Silva wrote: Hello: I have a table with checkbox where user can select up to 20 records and delete all at once. deleteSelectedUsers() { const selectedUsers = this.get('selectedUsers'); const...
View ArticleError Handling with Rest Adapter and custom error json
@mtangoo wrote: I have this Rest adapter //app/adapters/application.js import Ember from 'ember'; import DS from 'ember-data'; export default DS.RESTAdapter.extend({ //defaultSerializer:...
View ArticleWhy is PhantomJS disconnecting?
@jamesarosen wrote: For a few months now, we've been having problems with our tests aborting in CI. On Ember-CLI 1.13.13, we got the error not ok 130 PhantomJS - Browser "phantomjs...
View ArticleHow using localStorage without a adapter?
@flpms wrote: I like know, how use window.localStorage without installing an adapter or addon. I need transition a token and email user for another route and I don't like uso url params. I like put...
View ArticleIncluding external directories
@kevinkucharczyk wrote: Hi, I would like to include an external directory (containing components) into my Ember project. For example, let's say that my ember project resides inside...
View ArticleHow to select all check boxes in ember 2.3.1
@anaspm wrote: I have a data grid made of table. I need to select all rows in that table. I am using mirage for fetching data. Posts: 1 Participants: 1 Read full topic
View Article