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

How to include an SVG sprite sheet in my ember addon

@robabby wrote: Hey there, I am building an ember addon that is a collection of components for our organizations applications. We have been building it with the intention to distribute our...

View Article


Update and Refresh Existing models after new record created and saved

@rifa wrote: Hi, I have a list of artists displaying on my page and have a form to create new record. I can successfully create new record but my problem is the existing list of artists are not...

View Article


Identifying Error Types

@Mithrilhall wrote: Following the guides at https://guides.emberjs.com/v2.4.0/routing/loading-and-error-substates/ , how can I identify the error type? actions: { error(error, transition) { if (error)...

View Article

Clean install Ember-cli

@Frank_Stock wrote: I want to do a clean install on my Mac (10.11.4). I've tried to reinstall, Node, npm, Ember-cli... But I still get errors after creating a new project and starting with Ember...

View Article

DS.Errors in a call with DS.EmbeddedRecordsMixin

@pjcarly wrote: Hi, I'm doing a call to an endpoint, with embedded records (for various reasons). I'm trying to adhere to the JSON API standard as closely as possible with my backend, but in this case...

View Article


Deprecated Blog Posts

@mrloop wrote: I'm updating an article on a blog, it uses deprecated ember code. I've got vague memories of a Tomster logo and text that was proposed to add to articles containing depreciated code,...

View Article

Why Ember.A() is used in component?

@Myrdhin wrote: Hello, I often see code like this: import Ember from 'ember'; ... const { ... A, ... } = Ember; export default Component.extend({ ... aProperty: A([]), ... anotherCP: computed(...,...

View Article

Help : How to create Multiple Layout in ember 2.4 like in EJS

@venkatesh_sivaraman wrote: I need to use three different layouts in my App. How can I use different Template instead of Application Template as a layout in Ember 2.4? Posts: 2 Participants: 2 Read...

View Article


Any reason, why Ember does not support global functions through js file import

@nagkumar wrote: Any reason, why Ember expect Mixin, Service or environment App block approach to use generic functions. It would have been more seamless experience for Object Oriented JavaScript...

View Article


queryRecord, query

@Ldim wrote: Hi everyone. I'm trying to do a query (firebase db) and I get the following error when I use DS.queryRecord: Assertion Failed: You tried to make a query but your adapter does not...

View Article

Saving hasMany for existing objects

@Chancer wrote: I'm learning ember by writing a small video catalog app. The models look like so: export default DS.Model.extend({ name: DS.attr('string'), year: DS.attr('number'), categories:...

View Article

Ember's checkbox and 'checked' attribute : two-way binding not works?

@Myrdhin wrote: I do not understand. When I try this code: my index.hbs : <input type="checkbox" checked={{cbState}} /> {{cbState}}<br /> {{input type="checkbox" checked=cbState}}...

View Article

Model attributes versioning best practices?

@Craig_Setera wrote: We are making changes to the server-side model that is reflected through our Ember Data models. As we do this, the attributes will change over time and depend on which server the...

View Article


Image may be NSFW.
Clik here to view.

Duplicate Chain Watchers

@ohnnyj wrote: Trying to isolate some memory leaks and ran into some issues with ember_meta.chainWatchers. Using Ember 2.0.0. Before I dig too much deeper is it normal to have duplicate watchers for...

View Article

Image may be NSFW.
Clik here to view.

Travis CI, Phantom, and Ember

@fatbotdesigns wrote: Good day, I have an Ember app where I'm using CircleCI to run build tests before mergin a pull request. But I get this error where I don't really understand what it means: Screen...

View Article


How to deploy my ember app via Bitbucket

@Cedric_Arnould wrote: Hi, I created an ember app which working locally. I save my source on bitbucket I configured bitbucket to automatically push my code on a ftp. When i go to the website,...

View Article

How to instanciate a model in a route

@Cedric_Arnould wrote: I created a model: ember g model test name:string When i try to instanciate it, it doesnt work: //app/routes/example.js model(params) { return Ember.test.create({ name:...

View Article


Rollback on model with relationships

@Rick_Meertens wrote: Hi Guys, We discovered that the rollbackAttributesI() from Ember.data doesn't affect records with relationships. (belongsTo fields doesn't rollback) Is there a proper solution to...

View Article

Ember Addon (Application Reuse)

@thermokarst wrote: Hello! I have an ember-cli application that I would like to reuse in a few different containers: traditional web-deploy, desktop app (via electron), etc. I am wondering what would...

View Article

Multiple dynamic segments without nesting

@hmblcodr wrote: The Problem I want to have a route with two dynamic segments that represent two related models. When I use link-to to generate a link to the route, I get the following error: Error:...

View Article
Browsing all 4835 articles
Browse latest View live