Quantcast
Browsing all 4826 articles
Browse latest View live

Newbie: How to extend console.log functionalities the Ember way?

@George_Sgouros wrote: Hi everybody I am new to Ember and Javascript (I do have a C++, Java, Rails background) I often use console.log() from my code (route, component, controller JS files) to post...

View Article


Component rerender even though property did not change

@Tobias_Wenger wrote: In my Ember app I recognized performance issues and found out that my components are rerendered even though the property did not change. The component has only one attribute...

View Article


Ember-cli-deploy, different build targets

@planetexpress69 wrote: Hi there, I am using ember-cli-deploy to make my life easier. Building, uploading via rsync and yelling to a Slack channel works for both my staging & my production build....

View Article

How can I abort a DS.Store#query?

@andrew1 wrote: I'm fixing a bug in some code that -- unfortunately -- uses the store in a component: store: Ember.inject.service(), this.get('store').query('foo'...).then((data) =>...

View Article

All default Component Integration Tests are (4, 0, 4) undefined

@kyleshevlin wrote: I am completely new to testing in Ember (testing in general). I am following the Ember 2.x course at Front End Masters and I have generated several components via ember-cli. When I...

View Article


When do you use yield?

@rmmpaderes wrote: I'm curious as to how other devs use {{yield}} in components. In my case, I rarely use it. I just usually pass what I would like to {{yield}} into an attribute. I only use {{yield}}...

View Article

Ember.select helper not working in Ember 2.3

@Deepak_Negi_Sunny wrote: Dear Members, I am not able to generate ember.select in Ember 2.3. Please tell alternate to it. {{Ember.select }} ----------- is not working and also while trying to create...

View Article

How to refesh a nested route when the parent model changes

@remkoboschker wrote: I would like to update the model for a parent route and then update a child / nested route accordingly. The nested route uses the parent model and gets it with modelFor. Calling...

View Article


Ember 2.4 change main view css class

@pierred69 wrote: I'm looking for a way to change the css classname of the root element of an Ember app in Ember 2.4. The old way doesn't work anymore because of deprecation, and now I have : <body...

View Article


Auto-typing strings for Ember (Typed.js)

@igorpreston wrote: Hey folks, Just released the addon that implements Typed.js as Ember component. I think this is really cool feature and I have been using it heavily in my several apps but didn't...

View Article

How to use jquery comments plugin in ember component

@anaspm wrote: I wish to inegrate jquery-comments plugin with ember application to use ready made commenting system. I got this jquery plugin http://viima.github.io/jquery-comments/#link-1 Or is there...

View Article

Input helper for type="file"

@litao84 wrote: I wonder how to handle the onchange event of "input type='file'" and found the following helper works well. <input id="mp3file" type="file" {{action 'mp3Changed' on="change"}}...

View Article

Read JSON from static file

@danilovaz wrote: Hi guys! I would like some help here. I'm trying to read a static JSON file in order to test my Front End. I'm using JSONAPIAdapter. I created the Serializers and the Adapter and...

View Article


Image may be NSFW.
Clik here to view.

Test is not recognizing element on page even though it's there

@hschillig wrote: This is my test I have so far: test('add a new contract', function(assert) { visit('/contracts'); andThen(function() { click('a.add-popup'); }); }); }); However, it's not seeing the...

View Article

Warn about nullifuing not saved models

@aikixd wrote: Consider next piece of code: this.set('model', this.get('store').createRecord('model')); this.set('model', null); This would create an orphan model in store, which most likely is a...

View Article


Ember CLI fails to install

@NomNuggetNom wrote: I'm trying to install ember-cli on linux, and the installation gets about halfway then suddenly stops. nom@nomcodes:/var/www/html$ sudo npm install -g ember-cli@2.4 npm WARN...

View Article

Global Side Nav

@steve-ng wrote: Hi I am creating a global side navigation. In the global nav, I have to display a list of documentations to display at the side nav. Should I use emberJS component? If I am using an...

View Article


How to append component after user action

@kyleshevlin wrote: My app currently has a component called color-box. I have another component called add-color-box that contains a button sending the action, appropriately named "addColorBox". I...

View Article

Image may be NSFW.
Clik here to view.

Ember-cli suddenly slowed down to a crawl

@therealbenhogan wrote: Hi, I am using ember-cli version 2.4.1 on WIndows 7 64 bit with the ember-cli-wndows add on installed version 2.1.4 Haven't been having any issues when serving an existing...

View Article

Components namespacing

@LozJackson wrote: Suppose I have a component named my-component in my app, and I install an addon that also has a component named my-component, how can I use the component provided by the addon?...

View Article
Browsing all 4826 articles
Browse latest View live