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

How to use addon-test-support files in same addon?

@mkay581 wrote: Currently, adding a file to the addon-test-support directory in an addon allows that file to be exposed and used by a consuming application using the magical test-support/ path. But...

View Article


Image may be NSFW.
Clik here to view.

Unable to run simple application using bower

@Jass_Jabalpuriya wrote: hi , i have installed ember using bower. below is my html code <!doctype html> when i am running the app using http-server -o i am facing below error. bower...

View Article


Loading event when saving form

@jrock2004 wrote: I was reading up on https://guides.emberjs.com/v3.1.0/routing/loading-and-error-substates/#toc_the-code-loading-code-event And I am wonder if when I submit a form that does not...

View Article

Actions in routes

@Ben_Glancy wrote: Hi, I had started a habit of putting actions in routes instead of the controller, but found that randomly it throws errors in some cases, complaining the action isn’t found in the...

View Article

Why does ember-source npm package have a lot of dependencies?

@qjmiao wrote: It seems just jquery is required, but package.json contains a lot of others. “dependencies”: { “broccoli-funnel”: “^2.0.1”, “broccoli-merge-trees”: “^2.0.0”, “chalk”: “^2.3.0”,...

View Article


How do a test promise isFulfilled in integration tests?

@GregWeb wrote: Hi I’m quite new to promises and definitely promises in Ember. I’m using EMber 2.18 I have a component with the following conditional: {{#if totalAmount.isFulfilled}} <p...

View Article

Feedback needed on Stack Overflow tags idea

@jenweber wrote: One of the issues with Stack Overflow is that a typical Ember search surfaces old (like, REALLY OLD) stuff. So. what if we removed ember.js tags on old content and replaced it with...

View Article

Enable Ability to Change Username

@derpy wrote: Hey there! I noticed on other Discourse forums that I can change my username. Why is that option not enabled on this forum? I hate the name I chose! Posts: 1 Participants: 1 Read full...

View Article


Disable public profiles on the forum

@oskar wrote: Hi, by default user profiles on Discourse are public. That means anyone can see rather private information such as when you were last online, how much time you’ve spent reading etc....

View Article


Image may be NSFW.
Clik here to view.

In new testing api when should I use lookup vs register? (mocking/stubbing)

@rondale_sc wrote: In the new testing api when is it appropriate to do: this.owner.lookup('service:foo').someProperty = '123'; vs import Service from '@ember/service';...

View Article

Dynamic component and 2 way binding

@wonderful123 wrote: I have a form that creates a dynamic list of component input elements. How do I create a binding outside of the components? Here’s a twiddle that will show the problem: Twiddle...

View Article

Too many dependencies in package.json

@ondrejsevcik wrote: Hi, when creating a new ember app, you’ll end up with this in package.json "broccoli-asset-rev": "^2.4.5", "ember-ajax": "^3.0.0", "ember-cli": "~2.18.2", "ember-cli-app-version":...

View Article

Make Ember table financial collapsible by default

@John_marcel wrote: Hi, I’m customizing the ember table financial table here -> https://opensource.addepar.com/ember-table-addon/#/financial on localhost but can’t find a way to make the rows to be...

View Article


Language in URL with HTML lang attribute and FastBoot

@Lupestro wrote: Our site specifies the language for a page in the URL - http://oursite/en/whatever. I am using a route to pick this up and set the locale to use for the content. We even perform...

View Article

Image may be NSFW.
Clik here to view.

How to declare optional instance property to EmberObject in ES6 class in...

@Lupestro wrote: Situation: An EmberObject declared as an ES6 class has an instance property. The create({…}) may or may not supply a value. If the property doesn’t have a value upon construction, the...

View Article


Using a default template

@hectorsq wrote: I am using the {{ partial }} helper to select a template according to a field in my model. By design, if the partial does not exist, nothing is shown. How can I use a default template...

View Article

Serving ember app on a subdirectory

@Gokul_Krishna_Parava wrote: I created a sample app using ember cli 3.1 and am able to build and run it using ember serve when i deploy it on my server in a folder, i see a blank page. I tried setting...

View Article


How to catch errors in component/rendering test?

@Garrick wrote: Version: ember@~3.1.0, ember-cli@~3.1.4 My component has a computed property that throws an error when the component is used without passing an attribute to replace the computed...

View Article

Running all test files in a folder in --server mode

@GregWeb wrote: His I have a large page I want to break up into mulitple my-test.js files in the same folder. when I do this and run ember test --filter "my-test-folder" --server it runs and lists...

View Article

Image may be NSFW.
Clik here to view.

Adding addons at runtime

@GELight wrote: Hi all ember friends, I hope I can describe my question good enough in english. Question: Is there a possibility in ember to resolving addons at runtime? In our company working based...

View Article
Browsing all 4826 articles
Browse latest View live