Quantcast
Browsing all 4826 articles
Browse latest View live

Isn't the store a memory leak?

@ofridagan wrote: Am I missing something? As I understand it, the store acts like a cache, keeping a reference to every model that was loaded. Isn't it kind of a memory leak? Should I clear it by...

View Article


Access clean attributes

@Ivan_Youroff wrote: Is there simple way to access clean attributes of DS.Model? For example, for the case when currently editing model displayed somewhere in the header. It looks kinda ugly when...

View Article


Any good example app written with Ember 2?

@Kevin_Zhu wrote: Hi everyone, I am new to Ember and found it really hard to develop one app from scratch. Is there any good example to refer to? I searched on the web but only found some very simple...

View Article

Ember.subscribe not working (Syntax error)

@Deepak_Negi_Sunny wrote: Dear Members I am trying to implement Ember.subscribe TestSubscribe: function(fileId) { Ember.subscribe(fileId, function() { before: function(){ //code }, after: function(){...

View Article

Debugging help: stack tracing with an eye to the Ember run loop and source code

@barneycarroll wrote: I'm running an Ember CLI project, I've got Ember inspector, I'm running Ember debug. Despite this, and perhaps partly because each element of this tool chain ultimately adds to...

View Article


Hover on a component

@jobsboris27 wrote: Hi there! How you check hover on a component? It is action? Posts: 3 Participants: 3 Read full topic

View Article

How inject controller or controller method into component?

@jobsboris27 wrote: Hi there! I don't understand it. Posts: 2 Participants: 2 Read full topic

View Article

Generic URL and multiple data in one route

@hbc wrote: In my detail page which is "pic" route, I print the clicked news' picture's bigger version and its content.I take them from service as JSON. Also, I'm using generic URL. You can check my...

View Article


Setup Your Ember Addon For Success with Ember Addon Genie

@offirgolan wrote: Hi Everyone, I just wanted to share with you all an addon that I developed to jump-start my addon development process. Ember Addon Genie is a collection Interactive blueprints for...

View Article


How get model in controller?

@jobsboris27 wrote: Hi there! I have model with some props. name: DS.attr(), description: DS.attr(), stats: DS.attr(), someValue: Ember.computed('stats', function() { return data }) But, how i can get...

View Article

How set data when i call render method?

@jobsboris27 wrote: this.render(modalTemplate, { into: 'application', outlet: 'uiModalContent', data: data }); And in template.hbs display data. How can do it? Posts: 1 Participants: 1 Read full topic

View Article

Getting JSON data from URL

@hbc wrote: Hello, I normally get data from a service I created, a hard-coded JSON. But I need to take the JSON from an URL. This is my twiddle :...

View Article

Image may be NSFW.
Clik here to view.

Learning Ember FAST

@niconel wrote: Hi, I've been dipping into Ember on and off for a while now, never really got past creating a project, routes, etc. Starting a new project in a week and finally will have an...

View Article


Clearing "lookupFactory was called" deprecations on 1.13.x

@hndr wrote: I'm currently trying to bring an 1.13.x application to the 2.0 version, and then eventually to the latest 2.5 version. So, my first step in trying to do so to clear up all the deprecation...

View Article

Best practice for calling an action on input field submit (button & enter key)

@bshano wrote: Just wondering what the best practice is for calling an action when a user enters data in an input box? I initially had a button with the action on it, but when I wanted to also call it...

View Article


Failed to parse SourceMap: assets/vendor.map

@Henry wrote: Lately I'm getting: Failed to parse SourceMap: http://localhost:4200/assets/vendor.map In the chrome console and I don't what could be the cause or where to start digging. Does anyone...

View Article

Best place to set default options for a jQuery plugin?

@Myrdhin wrote: Hello, I use a jQuery plugin (select2) in some components. We can define default options in $.fn.select2.defaults (like $.fn.select2.defaults.set("theme", "bootstrap");). What is the...

View Article


Action not working? Why?

@jobsboris27 wrote: Hello! application/route.js I display some component like that: this.render(template, { into: 'someAoo', outlet: 'someoutlet', controller: 'someController' }); template.hbs my...

View Article

Setting up a JetBrains IDE for breakpoints?

@Adhamh wrote: Hello, Can anyone share the details on getting a JetBrains based IDE setup for break points? I have read this discussion:discussion which indicates it its possible but it does not...

View Article

Image may be NSFW.
Clik here to view.

Browser will not scroll after page transition... sometimes

@nerdyworm wrote: Basically, you transition from one page to the next and after the transition, the browser refuses to scroll via mouse wheel/trackpad. I've only personally noticed it in development a...

View Article
Browsing all 4826 articles
Browse latest View live