kurko / ember-json-api

JSON API adapter for Ember Data.
MIT License
254 stars 62 forks source link

Using in browser #56

Closed muchweb closed 9 years ago

muchweb commented 9 years ago
  1. In README, it needs to be made more clear that this is intended to be used with ember-cli.
  2. To to release browserified drop-in version that could be easily included in HTML.
locks commented 9 years ago
  1. PR
  2. You already have https://github.com/kurko/ember-json-api/tree/master/dist
meismann commented 9 years ago

When I include ember-json-api/dist/ember-json-api.js in my browser app, I get an error:

TypeError: DS.JsonApiSerializer is undefined

I have already included loader.js/loader, so the define statement in the dist-file gets understood. Can somebody please update the installation instructions for browser apps?

jonkoops commented 9 years ago

I've registered the bower package to this repository, it is highly advised to use Ember CLI going forward. I'm closing this issue. If any issues still arise please open a new issue and it will be addressed.