From 465d6f0f4486922199ca394044f93c6246347a9e Mon Sep 17 00:00:00 2001 From: Paul Tannenbaum Date: Wed, 16 Dec 2015 16:05:22 -0800 Subject: [PATCH] Added highlighjs to project --- bower.json | 3 ++- ember-cli-build.js | 2 ++ package.json | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 0798b1d..d9b6667 100644 --- a/bower.json +++ b/bower.json @@ -12,6 +12,7 @@ "jquery": "^1.11.1", "loader.js": "ember-cli/loader.js#3.2.0", "bootstrap-sass": "~3.3.5", - "qunit": "~1.17.1" + "qunit": "~1.17.1", + "highlightjs": "~9.0.0" } } diff --git a/ember-cli-build.js b/ember-cli-build.js index a0c0b84..7599b05 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -18,6 +18,8 @@ module.exports = function(defaults) { // modules that you would like to import into your application // please specify an object with the list of modules as keys // along with the exports of each module as its value. + app.import('bower_components/highlightjs/highlight.pack.js'); + app.import('bower_components/highlightjs/styles/darkula.css'); return app.toTree(); }; diff --git a/package.json b/package.json index f8f06b8..ca36de3 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,8 @@ }, "dependencies": { "ember-cli-sass": "^5.1.0", + "ember-content-editable": "0.7.0", "ember-idx-tabs": "^0.1.4", - "ember-content-editable": "0.7.0" + "highlightjs": "^8.7.0" } }