Quantcast
Browsing all 4826 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Ember 3.2 + ember-decorators subclassing bug

@bartocc wrote: While migrating a 3.1.4 project to 3.2, I ran into the following error: Class constructor A cannot be invoked without 'new'. The project has 2 models, A and B, defined with ES6...

View Article


Excluding attributes sent to the server

@melriffe wrote: I have a model that, for business reasons, has an attribute that contains a value from a global counter. This attribute needs to be displayed. Oh, some background: Ember 2.18 + Rails...

View Article


Image may be NSFW.
Clik here to view.

Polymorphic hasMany relathionship with ES6 classes

@bartocc wrote: Let’s create an app with 3 models, User, Post and SpecialPost. They are all defined with the ES6 class/extends syntax thanks to ember-decorators. // models/user.js import DS from...

View Article

A bigger Ember tent

@tomdale wrote: I wanted to make something very clear, in response to @mfeckie’s Are we (still) a welcoming community? thread. In the Ember community, dissent is not just tolerated, it is encouraged....

View Article

Image may be NSFW.
Clik here to view.

Readers' Questions: "Why does Ember use Broccoli and how is it different from...

@jessica wrote: Hello once again to Readers’ Questions, presented by the folks at The Ember Times with a little help from the Ember Core Team and Friends Today I’ll be answering a question by Ilya:...

View Article


Image may be NSFW.
Clik here to view.

Do I really need Oauth2 if Ember and back end are in the same domain and...

@Nacho_B wrote: Hello: I am suffering a lot trying to get ember-simple-auth working with my back end (Perl Mojolicious). I have problems in both ends. But now I am thinking if all this tokens...

View Article

Pass object by reference to other objects

@Charles_Bourasseau wrote: Is that possible to pass property by references to other object. Something to achieve this: import EmberObject from '@ember/object'; const Person = EmberObject.extend(); let...

View Article

How to update model with returned uuid from API

@Aquaman wrote: I am sending a request to create a new record to an API. This call is successful and returns a uuid for the newly created record. I want to update the local store with the uuid. I am...

View Article


How to expose style guide to in-repo addon and engines

@Chrizzis wrote: I am working on a project where we have a style guide that we are trying to make available to our ember app. The app has a couple of in-repo engines and an I am creating an in-repo...

View Article


Can't search on emberjs.com api docs

@calmwater wrote: For some reason the search function is not working for me on Emberjs.com in the API reference. I have tried Safari and Chrome on macOS and it just sits there. No response to...

View Article

Image may be NSFW.
Clik here to view.

Best way to make an ajax request in an addon?

@ryanto wrote: This sounds like a question from 2005 Ha! Ok, we go… It seems that there are a handful of different ways to configure how an Ember application makes its network requests. Here’s what...

View Article

Is there a way to exclude files from the ember serve watcher?

@anna wrote: Is there a way to exclude files from the ember serve watcher? We found using Windows machines that our build time was getting ridiculous. To help improve that we removed the scss...

View Article

How to Trim data from Ember.get()

@SarathSantoshDamaraj wrote: I have an Object that has to be trimmed for white-spaces before updating/assigning with ember.set. I know it can be done with using this.set(/**/).trim() . But just set()...

View Article


Background highlight is not getting disppear after getting the menu

@Boo wrote: hello, I need to create background as yellow while selecting the gear icon for the menu option in the table row, I have tried the below code for highlighting the table row, var view =...

View Article

Unexpected {{Partial}} Usage

@papakay19 wrote: Please i’m have a template lint error with this line of my code {{partial "-sales-table-header"}} Ember 3.4.1 Ember Cli 3.4.1 Ember Template lint 1.0.0-beta.1 Posts: 1 Participants:...

View Article


Preferred way to wire up actions?

@ryanto wrote: I’ve noticed in most Ember applications I work on there seems to be two common ways of wiring up actions. Action 1: onclick <button onclick={{action "myAction1"}}> Action 1...

View Article

Host App to Engine's Route Transition with QueryParam of type object is not...

@kishoreyuvan wrote: In my host app repository, I have an in Repo lazy loading engine. When I proceed transition from my host app to engine’s route with Query param of type object for the very first...

View Article


How can I share files (CSS/Sass) between addons?

@samselikoff wrote: I’m trying to figure out how to make a Sass file from my addon available so that other addons can @import it. If I put it under addon/styles/addon.scss, it gets auto-concat’ed into...

View Article

Default store (w/o Ember Data)

@pablobm wrote: Hello there. I’m doing some research of the bowels of Ember, and I have a question about how @ember/routing/route implements store. I understand this implementation is normally...

View Article

How can an addon find the Ember version of a host app?

@ryanto wrote: I’m writing an addon and I need to know at runtime which version of Ember the host app is using. I’ve got myself in a funny situation. I can think of a few ways to proceed, but I just...

View Article
Browsing all 4826 articles
Browse latest View live