Skip to content

Commit

Permalink
Finish removing jQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Oct 23, 2017
1 parent cd11bef commit 3e3d42f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
11 changes: 9 additions & 2 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
const app = new EmberAddon(defaults, {
const { project } = defaults;
const options = {
shepherd: {
theme: 'arrows'
}
});
};

if (project.findAddonByName('ember-native-dom-event-dispatcher') && process.env.DEPLOY_TARGET === undefined) {
options.vendorFiles = { 'jquery.js': null };
}

const app = new EmberAddon(defaults, options);

/*
This build file specifies the options for the dummy test app of this
Expand Down
30 changes: 10 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2634,17 +2634,7 @@ ember-cli-htmlbars-inline-precompile@^1.0.2:
heimdalljs-logger "^0.1.7"
silent-error "^1.1.0"

ember-cli-htmlbars@^1.1.1:
version "1.3.4"
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-1.3.4.tgz#461289724b34af372a6a0c4b6635819156963353"
dependencies:
broccoli-persistent-filter "^1.0.3"
ember-cli-version-checker "^1.0.2"
hash-for-dep "^1.0.2"
json-stable-stringify "^1.0.0"
strip-bom "^2.0.0"

ember-cli-htmlbars@^2.0.1:
ember-cli-htmlbars@^2.0.1, ember-cli-htmlbars@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-2.0.3.tgz#e116e1500dba12f29c94b05b9ec90f52cb8bb042"
dependencies:
Expand Down Expand Up @@ -2980,14 +2970,14 @@ ember-native-dom-helpers@^0.5.4:
broccoli-funnel "^1.1.0"
ember-cli-babel "^6.6.0"

ember-prism@0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/ember-prism/-/ember-prism-0.1.1.tgz#8abdbae9474313f7547c003d9753132a3c644f02"
ember-prism@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/ember-prism/-/ember-prism-0.2.0.tgz#10e766620716fe15c525a010fb9a93d6a38e9260"
dependencies:
ember-cli-babel "^6.0.0"
ember-cli-htmlbars "^1.1.1"
ember-cli-babel "^6.8.2"
ember-cli-htmlbars "^2.0.3"
ember-cli-node-assets "^0.2.2"
prismjs "^1.6.0"
prismjs "^1.8.3"

ember-qunit@^3.0.0-beta.2:
version "3.0.0-beta.2"
Expand Down Expand Up @@ -5890,9 +5880,9 @@ printf@^0.2.3:
version "0.2.5"
resolved "https://registry.yarnpkg.com/printf/-/printf-0.2.5.tgz#c438ca2ca33e3927671db4ab69c0e52f936a4f0f"

prismjs@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365"
prismjs@^1.8.3:
version "1.8.3"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.8.3.tgz#4a3d140be5f2614a8987ca2330733a40d8ad207b"
optionalDependencies:
clipboard "^1.5.5"

Expand Down

0 comments on commit 3e3d42f

Please sign in to comment.