Skip to content

topaxi/ember-jquery

Repository files navigation

ember-jquery

Build Status

Easily add jquery to your ember applications

Usage

ember install ember-jquery

Addon Options

ember-cli-build.js:

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 build, released with jQuery 3.0 and upwards.

Installation

  • git clone <repository-url> this repository
  • cd ember-jquery
  • npm install

Running

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/.