Quantcast
Channel: Ember.JS - Latest topics
Browsing all 4836 articles
Browse latest View live

Disable button depending on how many checkbox are checked

@celo wrote: Guys, i'm using the follow code to block edit and delete button, depending on how many checkbox are checked in the table list: allowEdit: Ember.computed('model.@each.checked', function()...

View Article


Image may be NSFW.
Clik here to view.

Ember return undefined to me, But I don't know why

@tangmonk wrote: Pasted image691x36 5.17 KB Posts: 2 Participants: 2 Read full topic

View Article


Torii and Ember Simple Auth in Firebase - How do they fit with each other?

@vikram_s_narayan wrote: In this June 2014 slideshare presentation by Cory Forsyth - http://www.slideshare.net/bantic/torii-emberjs-authentication-library - it says Torii is not a replacement for...

View Article

Image may be NSFW.
Clik here to view.

Cross origin requests issue in ember

@anvar wrote: i am using ember with sail for api, i getting an error "Cross origin requests" XMLHttpRequest cannot load localhost:1337/api/v1/project. Cross origin requests are only supported for...

View Article

Packages specified in packages.json/bower.json and build output

@harimath wrote: Does all of the source code for packages specified in packages.json OR bower.json not end up as being part of the build output (i.e. under dist directory (vendor.js, appName.js, etc))...

View Article


Return object after delete collection

@celo wrote: When i'm deleting one collection in my MongoDB, i'm receiving this output: { result: { ok: 1, n: 1, lastOp: Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1448429280 }, electionId:...

View Article

Add DS.Store base delegate method to the adapter

@teckays wrote: I'm wondering if I need to extend the DS.Store class in order to add a query method like this.store.search() for example, would it be possible on the current version? This need comes...

View Article

Why are my headers always giving an “Adapter operation failed” error?

@brou wrote: Aloha! Today, I'm trying to add custom headers to each request to my backend. Playing with my DS.RESTAdapter, I already tried: The 3 headers: solutions suggested in the official guide....

View Article


Child route not rendering

@joseph_dillon_522 wrote: So I'm throwing out a lifeline because I'm totally stumped here. I have a signup route, with a set of child routes for each step: signup signup.credentials signup.plans...

View Article


Image may be NSFW.
Clik here to view.

For loop in template, but ember throw error to me

@tangmonk wrote: this looks fine, and works in chrome console Ember error: Posts: 2 Participants: 2 Read full topic

View Article

Then not working in destroyRecord

@celo wrote: I'm using the following code to delete all my itens that have the checked attribute, checked: delete () { let model = this.get('model'); model.forEach(item => { if...

View Article

Render template with corresponding route/model/controller?

@JMendoza wrote: Hiii!! I am trying to render a template using {{render "novel" model}} inside a user template and I want to use the model hook in the corresponding novel route and also be able to use...

View Article

Ember helper return an html code with Controller action

@tangmonk wrote: Because handlebars too simple to cannot fix complex logic, So I write some code in helper/component that can generate html code with action. But It not works, it just generate...

View Article


How to convert promis to object

@1111 wrote: i have promis object that i get after fetching data from server, how can i convert him to js object and fetch from him all the records ? Posts: 2 Participants: 2 Read full topic

View Article

Set new property to window object with Ember.set in version >=1.12.0

@aruman wrote: Hello, I am using ember-auth library (https://github.com/heartsentwined/ember-auth). It worked fine with Ember 1.11.3, now I switched to Ember 1.12.0 but my app crashes when...

View Article


Is it possible to integrate CLI library into non-CLI project

@aruman wrote: Hi, I have a non-cli ember project. It is a large app, so porting to CLI needs a lot of refactoring. Therefor I would like to leave it as it. Is it possible to integrate CLI libraries...

View Article

EmbeddedRecordsMixin "index Assertion Failed"

@teckays wrote: I have an use case where in some cases I need model relationships to be included and some not. for example on my search results page, I don't need the video.tags relationship to be...

View Article


How can I compile GlimmerComponents?

@Pipo wrote: For research purposes I try to use Ember with npm and webpack instead of bower and ember-cli. Everything works fine, however I can't compile GlimmerComponents. Can anyone tell me why? I...

View Article

Where to do business logic on DS.Model instances?

@planetexpress69 wrote: Hi there, I need to do some heavy business logic to my DS.Model instances. Where is the right place to do so? I don't want to pollute my model with Ember.computed() with long...

View Article

User authentications and application controller

@carlitoxti wrote: Hello, i need to call a method who is define in my application controller since a route, post/comment/new route because i like to deny access this route for users are not...

View Article
Browsing all 4836 articles
Browse latest View live