Questions tagged [ember-cli-addons]

82 questions
1
vote
1 answer

ember data different models for same endpoint

I have an API that doesn't return JSON data in a format that Ember-Data expects. Especially when getting a list of resources versus a single resource. For example, GET /api/widgets/{id} Should return a single widget model that might look like…
1
vote
1 answer

How to write files into the app tree in ember-cli preprocessTree hook

I have a broccoli plugin which does the following: Read json file from root folder based on the JSON generate some route template HBS files This works perfectly and can also be acceptance tested by triggering a broccoli build. Example result of…
Willem de Wit
  • 8,604
  • 9
  • 57
  • 90
1
vote
2 answers

Cannot read property 'then' of undefined when installing ember-cli-coffeescript

Upon installing ember-cli i wanted to install the coffeescript add on using: ember install ember-cli-coffeescript as shown in the documentation but I get the error: WARNING: Skipping npm install: package.json not found package.json not found Cannot…
danielbker
  • 392
  • 1
  • 3
  • 21
1
vote
1 answer

Order of ember-cli preprocessors

I'm the maintainer of the ember-cli preprocessor for java.properties files to generate a JS file exporting a JSON object with values. The problem I'm running into is that the file is correctly processed (ES2015 flavored), but that files is not…
Willem de Wit
  • 8,604
  • 9
  • 57
  • 90
1
vote
1 answer

Ember Engine Uncaught Error: Could not find module ember-views/views/select

Created new app with ember new app-name version: 1.13.13 node: 5.5.0 npm: 2.14.10 os: linux x64 After running "ember s" App works proper in browser As per guide at https://github.com/dgeb/ember-engines for running ember engine ran below…
Pradeep Jaiswar
  • 1,785
  • 7
  • 27
  • 48
1
vote
1 answer

How to make the image fullscreen without making cropping the big images

I am using ember-fullscreen addon in ember app.I am showing the image in fullscreen ( just like facebook does.) The problem I am facing is if the images is big in dimensions.Then the I am not able to see the full image.Only a partial part of image…
nandanself
  • 835
  • 8
  • 21
1
vote
1 answer

How to add any external JavaScript file in my Ember CLI component?

I am new to Ember CLI and I don't know how to add my own util file in my app. I want to add this summernote.js file to my project. How do I add this file to the components using Ember CLI?
Nitesh singh
  • 915
  • 11
  • 21
1
vote
1 answer

Ember Addons and bower dependencies versioning

(related, very similar, but not the same as this question, as my question is looking for the scenario where node_modules is lost and re-fetched through npm install and on the topic of keeping deps current in general.) Let A be an addon in version…
1
vote
2 answers

Is there a supported Ember-cli addon for Polymer?

I'm fairly new to both ember-cli and polymer so bear with me. My problem here is that I am trying to use Polymer webcomponents within my ember-cli project, however I have not been able to find an add-on or solution that works with the current…
1
vote
1 answer

Import ember addon code directly from out of the box tests

I'm working on creating an ember addon, and I'm a bit stuck trying to write tests for it. This addon implements a command line option, rather than shipping components etc. As a result, none of the moduleFor type test helpers are relevant for me in…
eddie.sholl
  • 740
  • 1
  • 6
  • 18
1
vote
1 answer

Correct way of handling context in Promise

There are a few posts on the topic, but couldn't find one that explains the concept of context in Promises. Lets start with some code (this is taken from an Ember.js module and simplified, but could be any JS code that supports…
MojoJojo
  • 3,897
  • 4
  • 28
  • 54
1
vote
0 answers

How to customize the ember-cli-pace loader in ember application?

I installed ember-cli-pace addon into my ember application, want to change the default loader. But not getting How and from I should change it. I am using ember-cli with version 1.13.8
mohan.gade
  • 1,095
  • 1
  • 9
  • 15
1
vote
1 answer

Ember addon Vs normal package

I am trying to understand the differences between an Ember addon Vs normal package more from consuming side in my app. So I would like to understand the following points; Differences in consuming both ? like what do we need to import, Brocfile…
copenndthagen
  • 49,230
  • 102
  • 290
  • 442
1
vote
1 answer

access dummy project's root path from ember cli addon in tests

Scenario: I'd like to know the proper way to access the root path of a project that's consuming the addon - that also works while testing... e.g., the addon: // ember-cli-myaddon/index.js { ... contentFor(name) { if (name ==='body') { …
Joe B
  • 1,261
  • 14
  • 20
1
vote
0 answers

Ember-CLI and slickgrid

I would like to know the steps to include slickgrid to Ember-cli application? I have added the "slickgrid": "~2.1.0" to bower.json. and import statements to Brocfile.js. When I run the application, I get an error saying Slick is not defined can…