Quantcast
Browsing all 4826 articles
Browse latest View live

hasDirtyAttributes do not work with nested attributes (JSON API)

@Nacho_B wrote: Hi I have a model returning from the backend using JSON API. // models/client.js import DS from 'ember-data'; export default DS.Model.extend({ name: DS.attr(), full_name: DS.attr(),...

View Article


On running ember s I am getting the error of missing dependency for fsevents

@abhishek wrote: On running ember s I am getting the error of missing dependency for fsevents. I am running my code on windows still I am getting this error. If I remove it from the package-lock.json...

View Article


Newbie with questions

@NeveroddoreveN wrote: Hey everyone! I just started playing Ember and I love it! The game is really great. Being the newbie that I am, I have some questions for more experienced players… Is there a...

View Article

Https://dancesweb.com/casino/ - 카지노사이트

@runner2035z wrote: 카지노 게임. 착색 한 구획. 【https://dancesweb.com/casino/】 카지노사이트 에 오신 것을 환영합니다. 무료 온라인 게임을 즐길 수 있습니다. 매일 새로운 무료 게임으로 구입했습니다. Posts: 1 Participants: 1 Read full topic

View Article

Get Render Performance details via javascript hook

@gokulk138 wrote: The render performance tab of the e-inspector looks cool and will definitely be useful for debugging performance lags. Is there a way I can get those data via a javascript hook in my...

View Article


Image may be NSFW.
Clik here to view.

Handlebars helper to break text strings into paragraphs at `\n` in a JSON file?

@jameshahn2 wrote: Y’all got any more of them handlebars helpers? Maybe one that can break strings into paragraphs at \n in a JSON file? Posts: 1 Participants: 1 Read full topic

View Article

Dynamic computes

@ahopkins wrote: Is there such as thing as dynamic computed properties? I think a bit of code would make more sense. Let’s say there is an object like this: const fruitVendor = { weeks: {...

View Article

Image may be NSFW.
Clik here to view.

Define function/callbacks in ENV?

@Myrdhin wrote: hello Could somebody help me to understand why I can not define a function/callback in config/environment.js ENV object? I see functions/callbacks are removed when we build the...

View Article


How to fetch associated model data from back-end only when required

@sundar wrote: store.findRecord('school', school_id, { include: [ 'students', 'students.records' ].join(',') Using the above code fetching school, students, students’ records data in inital load. In...

View Article


Route only in DEV mode?

@Myrdhin wrote: Hello, Somebody know how to define a route (in the router) only in DEV mode. I would like files (controller, route, template) associated with this route are not compiled in the PROD...

View Article

ES6 replacement for Ember.testing

@Hummingbird wrote: When adding ember-simple-auth to a project, I noticed that Ember.testing is being used, for instance here I was wondering if there is an ES6 replacement, as importing Ember from...

View Article

How to wait for a transaction to be finished

@belgoros wrote: I’m stick with a weird transaction racing when using ESA. I identify a User as follows in current-user service: loadCurrentUser() { this.get('flashMessages').clearMessages(); if...

View Article

Ember action on component not rendering what is inside conditional

@yefan15 wrote: I am an Ember beginner and am not too sure why my code is not working. I have a component that has a button that I have assigned an action to. The action is to set a value to true so...

View Article


Image may be NSFW.
Clik here to view.

Component manager thoughts?

@ryanto wrote: I spent some time today playing with the new component managers that landed in 3.4. I’ve got to say, it’s been a lot of fun I created a few silly managers, nothing production ready....

View Article

How to deal with i18n in integration tests?

@Bauke wrote: Let’s say I have a component that displays the next localized text: Your score is 6 Using ember-i18n and ember-test-selectors it looks like this: <div data-test-score> {{i18n...

View Article


Ad-hoc custom computed property macro

@ondrejsevcik wrote: Is it possible to create custom computed property macro for specific use case? Example: I have an ember object with properties that share most of the logic. This logic is...

View Article

Yield multiple dynamic params

@CezaryH wrote: Hey, I wonder if there’s a way to yield multiple dynamic params from component. I imagine that would work like that: { arrayData: [1,2] } {{#test-component data=arrayData as |one...

View Article


Image may be NSFW.
Clik here to view.

DHTML &"The Ember Way"

@melriffe wrote: I’m on a project where there’s a requirement to display N number of drop-downs, but 1 at a time. For example: when first entering the edit page a drop-down is displayed. after a...

View Article

Get data from route as JSON for jQuery/fullcalendar

@brx wrote: How do I get JSON from store for jQuery/fullcalender? component template: {{yield}} component JS: export default Component.extend({ didInsertElement() { $('.jquerycal').fullCalendar({...

View Article

jQuery component

@brx wrote: It is recommended to insert jQuery elements like this in a component: this.$().fullCalender I tried this but always get “fullcalendar is not a function”. If inserted without ‘this’, it’s...

View Article
Browsing all 4826 articles
Browse latest View live