Quantcast
Browsing all 4826 articles
Browse latest View live

How to disable CORS headers

@rifa wrote: Hi, While creating new record I got this error "Error: Ember Data Request POST http://localhost/basic/web/artists returned a 0 Payload (Empty Content-Type)" I can create new record using...

View Article


Right way to design a dropdown for child route / dynamic segment

@accelerate wrote: Let's say I have this basic route this.route('projects', function() { this.route('project', { path: ':project_id' }); }); In my projects route, I fetch all available projects from...

View Article


Can't import js file

@NomNuggetNom wrote: When I try an import a file, my page simply doesn't render. Here's the file I'm trying to import: // vendor/sys.js export class Sys { static func() { return 'test'; } } Here's...

View Article

Image may be NSFW.
Clik here to view.

Grunt-babel with Ember.js

@zoltan wrote: I'm working on a "legacy" - haha, a 2 years old project legacy - Ember app, where an interim step would be to migrate the code to ES6 first. My plan was using grunt-babel. I try to...

View Article

An explanation about Routing in Ember

@AntoineAkt wrote: Hello, I'm looking to have a better explannation on how to configure a default routing configuration, which will overide Default. What i plan to do is to add a transition effect...

View Article


Image may be NSFW.
Clik here to view.

Can not generate a view for the index route

@litao84 wrote: I generated a view for the index route and want to hook the didInsertElemen event. ember generate view index then a error occurred. index route.js template.hbs view.js view.js import...

View Article

Ember-template-lint

@dkdrk wrote: I am using ember-template-lint for fixing my indentation, bare-string and triple curly braces errors. In my templates, am using symbols such as + , - , ( ,) , : , etc., Now the linter...

View Article

A way to shield source code from developer tools

@Stijn_Aerts wrote: Hi, Is there a way to shield my source code from access to it through the developer tools? Kind regards, Stijn Posts: 2 Participants: 2 Read full topic

View Article


How to Load single model multiple time in model hook

@shailendra.singh3 wrote: //....route.js 0 down vote favorite I want to fill up multiple drop-down from API like below where i have to pass type parameter like 'department','priority' etc. It didn't...

View Article


Importing ES6 classes inside styles folder

@vasconita wrote: I have some ember apps which share some styles. For the moment there are just two files I want to share between those ember apps, one CSS for static colors and one JS with a class...

View Article

Model with type attribute

@Ayoros_42 wrote: Hi, My API return a JSON like this one: { "question" { "content": "abc", "type": "number" } } The attribute "type" seems to be deleted by ember, how i can update the json key "type"...

View Article

Anyway can I request to route through view file?

@Sameed_Baqai wrote: I have this view file(work.js) and i have a jquery asking when scroll up, change the page: $(window).bind('mousewheel', function(e){ if(e.originalEvent.wheelDelta > 0) { //need...

View Article

setTimeout doesn't work

@Tche wrote: Hi everybody, I am working with Ember-Simple-Auth to authenticate my App against a remote server which serves me an API token which must be refreshed every 30 mins through the use of a...

View Article


Tools to generate components dependencies graph?

@rrh wrote: Recently I’ve been looking for tools that could visualise: Dependencies among components, or Generally what depends on what Having this kind of macro view can be useful for: Refactoring...

View Article

Computed property returning NaN on page load

@hschillig wrote: I have a model called contractf which has a computed property called sale_price. sale_price: function() { return this.get('dealers_sched_id').get('sale_price');...

View Article


Where to keep the properties in below scenario?

@Balu wrote: Case: I have two components which are upload dialog and progressbar. I have to share list of files to both components. What I did is: I created a service and injected into both the...

View Article

Image may be NSFW.
Clik here to view.

Add Discourse Solved (accepted answer) Plugin

@HeroicEric wrote: meta.discourse.org Discourse Solved (Accepted answer plugin) About The Discourse Solved plugin allows users to accept solutions on topics in designated categories. Requirements...

View Article


When ember engine stable version will be released?

@vinothwindows47 wrote: Hi Ember , Our application is currently composed of 7 "modules" and is currently sitting at ~6MB in minified resources and we're not even 50% done with the project. We've had...

View Article

How to get parent route params in the adapter?

@rael.venturus wrote: Hello! I'm currently working in a project powered by Ember-CLI with Ember 2.4.1 and Ember Data 2.4.0, and i cant figure out how to get all informations i need to set the buildURL...

View Article

How to share an object for two parallel level components?

@Balu wrote: Case: I need to share an object for two parallel level components, once the components are destroyed the object reference should be destroyed. Now I used service for sharing sharing but I...

View Article
Browsing all 4826 articles
Browse latest View live