Quantcast
Browsing all 4826 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Debugging tips and tricks

@rondale_sc wrote: I’ve learned many tips and tricks from the Ember.js Community slack that have been lost to other users over the years. I know firsthand how valuable knowing the right trick here or...

View Article


Image may be NSFW.
Clik here to view.

How to add and save additional row values from a template

@belgoros wrote: I display 7 rows corresponding to 7 week days: Monday through Sunday with working hours for every day (see the attached screenshot). Some day can have split hours (with time break)...

View Article


Supporting large collections in ember-data

@onsmith wrote: While developing ambitious web applications with ember, I’ve found that they often naturally result in databases with large collections of records (> 10,000). Obviously, it’s...

View Article

How to access nested object properties in 3.0+?

@patrickng wrote: We are in the process of trying to upgrade our Ember application from 2.15.3 -> 3.1 and am running into a major problem. Given that we have a simple typeahead that makes an AJAX...

View Article

Image may be NSFW.
Clik here to view.

How to avoid "TaskInstance XXX was canceled..." errors?

@piotrpalek wrote: Hey, I’m using ember-concurrency and I’m getting this error: TaskInstance XXX was canceled because it belongs to a XYZ Task that was .perform()ed again". I’ve noticed that’s because...

View Article


You probably don't need to wrap in Ember.Object

@ef4 wrote: I have seen several posts lately where people share code that does things like: this.set(‘recipientList’, Ember.Object.create(response)). And rather than hijack those threads, I’m starting...

View Article

How to do nested routing

@akhil_ck wrote: landing --> study --> mapping how can i create route for this can i just create mapping route and specify the path like as ‘landing/study/mapping’ like this Posts: 1...

View Article

Image may be NSFW.
Clik here to view.

Remove a particular file/folder from the app tree depends upon the build...

@gokulk138 wrote: I’m trying to remove a folder (app/utils/dev) from the app folder during the production build. I tried using broccoli-file-remover to remove the folder from app tree. But it’s not...

View Article


Image may be NSFW.
Clik here to view.

Glimmer "transaction is null"

@ahopkins wrote: I’m trying to upgrade an app that was running version 2.5 to Ember 3. I got what I thought was everything cleaned up so that I could finally build the package okay. The problem is, I...

View Article


Ember build --environment production

@vincenthure wrote: Hello, ember build : when I do this everything is ok ember build --environment production : when I do this is lost all my pictures on my pages!! I don’t understand how to solve...

View Article

Nested routing . there is no router (error)

@akhil_ck wrote: message : “Assertion Failed: You attempted to define a {{link-to "/landing/study/study-master-mapping"}} but did not pass the parameters required for generating its dynamic segments....

View Article

Image may be NSFW.
Clik here to view.

Ember cp-validations - belongsTo validation

@belgoros wrote: I didn’t find the answer in the examples provided in ember-cp-validation dummy app as well in their presentation. I have to validate a language in the following model: #...

View Article

Replace mirage with real database

@ondrejsevcik wrote: Hi, I would like to replace mirage with a real database connection. The problem is setting up test data. I don’t want to create them upfront in the database, because it’s very...

View Article


Image may be NSFW.
Clik here to view.

Actions now use run.join not run

@rondale_sc wrote: Mostly documenting this for future travelers…here goes. So in this commit: github.com/emberjs/ember.js [BUGFIX beta] Use `run.join` in `{{action` modifier. Using `Ember.run(() =>...

View Article

Image may be NSFW.
Clik here to view.

Datadown to a component leads to memory leak?

@Srinithi wrote: Hi… I have a simple ember app that does data-down to a component I basically want to avoid memory leaks in my app. I tested in canary and found that there are detached...

View Article


Testing Engines with ember-qunit >= 3.4

@lennyburdette wrote: When testing an Ember Engine, we want to run acceptance tests with the dummy app, but unit and integration tests with the engine itself. We found a solution, and I wanted to...

View Article

Ember In Repo Engines

@JKP wrote: Is there any way to group in-repo engines under a folder. Let’s say, i have 4 in-repo-engines namely A, B, C1 and C2. I want to group C1 and C2 in-repo-engines under a folder called C...

View Article


Promise rejected before it renders: _emberCliMirage.default.initialize is not...

@mungalmaroti wrote: Hi Friends, I am stuck how to set Promise in integration test case with ember js . Please let us me. Regards, Maroti Posts: 2 Participants: 1 Read full topic

View Article

Observe through reference API?

@ef4 wrote: I know I can use the reference API to synchronously read what type and id a belongsTo relationship is pointing at. But if I want to use those in a computed property, and I want the...

View Article

Ensuring treeForApp from Addon1 runs before Addon2

@samselikoff wrote: I’m working on AddonDocs, and it depends on Mirage. I want the treeForApp hook from AddonDocs to run before the treeForApp hook from Mirage (so that AddonDocs can create a file...

View Article
Browsing all 4826 articles
Browse latest View live