Setting a property only once (in an observer) throws Deprecation Warning You...
@tibbers wrote: Hi, I am running into quite some peculiar behavior. The thing is I understand the deprecation warning, however, it should not be happening as an 'observes', IMHO, does not use a...
View ArticleIn support of two-way data binding
@Kshitij_Upadhyay wrote: I am still to understand why there is this sudden movement against two-way data binding. I always loved the concept(starting from knockout js). I love the Ember way. The...
View ArticleImport assets with async/defer
@dialyticoh wrote: Hey there!! Quick question. I'm interested in having all the app assets imported with async/defer atributtes: <script src="assets/app.js" defer></script> Same thing with...
View ArticleTrying to connect to third party service through Ember CLI Mirage
@JordanRDesigns wrote: I'm having some trouble and I posted a issue on the github repo for ember-cli-mirage but I haven't received a response, figured maybe someone who has worked with mirage has come...
View ArticleChoice of backend
@Frank_Jensen wrote: Hi all, So recently I got one of those moments of doubt. I used to use Ruby on Rails for my backends back in the days when I was using Backbone. The last year I have been using...
View ArticleHow can two event handlers coexist?
@pablobm wrote: I have an app where a route mixin handles a common event. On the other hand, some routes may have their own handler for this event. I am trying to see how can I make both handlers...
View ArticleWhat format should response errors be in with Ember Data?
@skaterdav85 wrote: What format should response errors be in when using JSONSerializer or RESTSerializer with Ember Data 2.2.0-beta.2. Posts: 1 Participants: 1 Read full topic
View ArticleHow to call function in other route then i am
@1111 wrote: App.BbbRoute = Ember.Route.extend({ actions:{ doSomething: function() } }) App.AaaRoute = App.BbbRoute.extend({ //how can i call doSomething from here ?????? }) when i try to call...
View ArticleEmber instalation becomes broken after ember-cli-foundation-sass instalation
@Igor_Telmenko wrote: I try to use ember-cli-foundation-sass. But ember installation becomes broken after I add this extension. I works without ember-cli-foundation-sass installation. ember server...
View ArticleHow to parse a local JSON file?
@Karel_Michek wrote: Hi. I'm a complete ember.js beginner. I need to write a local application - ember-cli-nwjs works OK for me, I start it from the /dist folder. I need to place a local JSON file...
View ArticleEmber data, at what point are models created from response
@david_spurr wrote: I'm trying to dig through the internals of ember data as I want to be able to handle an associated model created in response to a create request of a parent. E.g. with the...
View ArticleHow to set up the new Resolver in Tests
@Korei_Klein wrote: I'm switching to using the ember-resolver npm package now in 2.2 and it's broken my tests. Can anyone point me to a working example of how to configure the ember app and the...
View ArticlePagination using the Seek Method
@artsmc88 wrote: I have created an API that pulls in data using the seek method. Similar to a instagram style feed. So I provide a id,limit and it returns what I need. But I could not find anyone that...
View ArticleSetting sortedProperty
@celo wrote: I'm trying to sort my date if the user clicks in a Inside my table header i have: <th class="tables__th" {{action "sortBy" "name"}}>Nome</th> <th class="tables__th"...
View ArticleLost application instance when ember build
@tangmonk wrote: I have a ember-cli project named Car, I can access Car object from window.Car, It seems ember-cli create a global object for me on development env. But if I run serve build , I am...
View ArticleCan't get data from hasMany relationship
@iodum wrote: I try to build Rails+Ember app using Ember data. Model: export default DS.Model.extend({ name: DS.attr('string'), content: DS.attr('string'), image_before: DS.attr('string'), created_at:...
View ArticleHow can I inline a Component's layout in an AddOn?
@andrew1 wrote: I'm creating a library of components that will have very simple layouts. For example: export default Ember.Component.extend({ layout: Ember.HTMLBars.compile('{{row.id}}') }); The...
View ArticleAccess Record by ID from Model inside Component
@riemannzeta wrote: When I pass a model with multiple records associated with it into component like so {{high-chart data=model}} I can extend the component with functions that include a model.map,...
View ArticleHow Ember determines that model has changed?
@marat93 wrote: In my Ember app I have a page with the list of posts. This posts come from API. Here is my model. import Ember from 'ember'; export default Ember.Route.extend({ queryParams: { order: {...
View ArticleInput helper with action, not work
@tangmonk wrote: that's my code: {{input type="submit" value=submit_btn_value class="button button-blue me_btn_top pay_recharge" action='charge' }} the above charge action not trigger when click, but...
View Article