Questions tagged [ember.js]
Ember.js is a component-service application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)
23,542
questions
1
vote
3answers
31 views
While creating components on ember. Skipping .js file?
If i run below, comment for generating component in ember.
$ ember generate component my-new<br>
installing component<br>
create app\components\my-new.hbs<br>
**skip app/...
0
votes
1answer
30 views
Ember invoke jQuery code only on initial render
In my Ember component class, I want to run some jQuery code to hide some elements. However, I want this code to run only on initial render and not on other events (say grid refresh)
...
0
votes
0answers
9 views
ember-cli: how to prevent incremental storybook builds when running `ember test -s`?
When running ember test -s, after any file save, storybook will incrementally build and slow down testing a lot. Is there a way to prevent incremental storybook buildings when running ember test -s?
...
0
votes
1answer
19 views
ember-intl for translating html
I'm using ember-intl and would like to translate html (href with link):
en-us.json:
{
"sign-up": "Didn't get it? check your spam folder, or try to '<a {myLink}>'send a new ...
-1
votes
0answers
21 views
I got issue with ember application after cloning disk
I began to learn ember and did working app. It was working well. Then I had to change my hard disk to ssd by cloning my old disk/ After cloning i restore my ember app from bup and tried to start it. ...
0
votes
0answers
32 views
Ember-Data “Error: Assertion Failed: You made a 'findRecord' request for a 'user' with id 'current', but the adapter's response did not have any data”
I'm using Ember 3.17 and trying to set up Ember Data to make a server call using the JSONAPIAdapter, however I keep getting this error:
Error: Assertion Failed: You made a 'findRecord' request for a '...
0
votes
0answers
46 views
Is there a way in Ember to get component/view/route based on div id like ember8013?
Is there a way in Ember to get component/view/route based on div id like ember8013?
This is just for debugging.
0
votes
1answer
36 views
Add if condition on array length directly in Handlebars template
In my Handlebars template, I want to enable/disable a button based on "selectedRows" array length (i.e. enable if selectedRows > 0 and disable it otherwise i.e. on array length 0)
I want ...
3
votes
1answer
77 views
Ember.js segmentation fault - node-sass
I recently moved some of my older projects to the new MacOS Catalina. I have an Ember.js project that is giving me a segmentation fault when trying to run the app. I found this github that seems like ...
0
votes
1answer
27 views
can't import the test helper addon in ember-cli-mirage
Facing the same issue - https://github.com/miragejs/ember-cli-mirage/issues/1445
Uncaught Error: Could not find module project-name/tests/helpers/push-mirage-into-store imported from project-name/...
1
vote
1answer
59 views
Failed to find a valid digest in the 'integrity' attribute for resource on a deployed emberjs application
I have an emberjs application which has been deployed and in google chrome browser im getting the following errors for 2 of the .js files.
Failed to find a valid digest in the 'integrity' attribute ...
0
votes
1answer
22 views
A sinon.spy function that is called does not state it has been called
I'm trying to mock an EmberJS adapter which has a function that carries out a POST request. My test looks like this:
test('should post something', async function (assert) {
let controller = this....
2
votes
1answer
35 views
Ember 3+ passing action from component to controller not working
We have recently shifted from ember 2+ to Ember 3.18.0 and i am struggling to call the controller function from a component. In previous version we were using sendAction to bubble the action but now ...
0
votes
1answer
24 views
Expression inside expression in handebars
Is there any way to put {{expression params={{expression}}}} I have code like this {{name value={{place}}}} where name and place are expressions.The problem is I cannot do this in js and i wanted this ...
2
votes
1answer
41 views
How to integrate EmberJS incrementally into an rails web app?
we're working on our opensource password manager cryptopus https://github.com/puzzle/cryptopus.
since our last release we integrated emberjs and are updating one component after another from classic ...