Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topaxi/ember-jquery
Easily add jquery to your ember application
https://github.com/topaxi/ember-jquery
addon ember ember-addon ember-cli jquery jquery-slim
Last synced: 7 days ago
JSON representation
Easily add jquery to your ember application
- Host: GitHub
- URL: https://github.com/topaxi/ember-jquery
- Owner: topaxi
- License: mit
- Created: 2017-04-10T06:07:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T12:46:07.000Z (over 7 years ago)
- Last Synced: 2024-12-16T22:36:54.954Z (12 days ago)
- Topics: addon, ember, ember-addon, ember-cli, jquery, jquery-slim
- Language: JavaScript
- Size: 86.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-jquery
[![Build Status](https://travis-ci.org/topaxi/ember-jquery.svg?branch=master)](https://travis-ci.org/topaxi/ember-jquery)
Easily add jquery to your ember applications
## Usage
```bash
ember install ember-jquery
```## Addon Options
`ember-cli-build.js`:
```javascript
module.exports = function(defaults) {
let app = new EmberAddon(defaults, {
// Disable jQuery bundled with Ember.js
vendorFiles: { 'jquery.js': null },
// Example to include jQuery slim instead of default build
jquery: {
slim: true
}
});
}
```Available options:
`slim` *boolean* (default false)
Use the [jQuery slim](https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/) build, released with jQuery 3.0 and upwards.
## Installation
* `git clone ` this repository
* `cd ember-jquery`
* `npm install`## Running
* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).## Running Tests
* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`## Building
* `ember build`
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).