Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Dev-dep beautify-html.js no via npm but bower.
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jul 24, 2014
1 parent 207b798 commit 794b3f4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
1 change: 0 additions & 1 deletion .jshintignore
Expand Up @@ -3,7 +3,6 @@ node_modules
src/jquery/*
src/test/unit/qunit/*
src/test/unit/sinon/*
src/test/unit/beautify-html.js
src/wymeditor/editor/opera.js
src/wymeditor/lang/*
src/wymeditor/rangy/*
Expand Down
10 changes: 9 additions & 1 deletion Gruntfile.js
Expand Up @@ -363,7 +363,15 @@ module.exports = function (grunt) {
cwd: 'src',
force: false,
map: {
'*': '/'
'require.js': '/',
'jquery.js': '/',
'jquery.browser.js': '/',
// Originates from js-beautify
'beautify-html.js': '/',
// following two also originate from js-beautify and we
// don't use them so tuck them away nicely.
'beautify.js': '/redundant/',
'beautify-css.js': '/redundant/'
},
offline: true,
root: "<%= yeoman.app %>/lib",
Expand Down
4 changes: 3 additions & 1 deletion bower.json
Expand Up @@ -6,7 +6,9 @@
"jquery": "~1.4.4",
"jquery.browser": "~0.0.6"
},
"devDependencies": {},
"devDependencies": {
"js-beautify": "https://github.com/beautify-web/js-beautify.git#1.5"
},
"resolutions": {
"jquery": "~1.4.4"
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -62,7 +62,6 @@
"grunt-replace": "~0.4.4",
"grunt-rev": "~0.1.0",
"grunt-usemin": "~0.1.10",
"js-beautify": "~1.5.1",
"time-grunt": "~0.1.1"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion src/test/unit/beautify-html.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/unit/index.html
Expand Up @@ -49,7 +49,7 @@
"sinon/sinon-qunit-1.0.0.js",

// An HTML beautifier
"beautify-html.js",
"../../lib/beautify-html.js",

// Test files
"utils.js",
Expand Down

0 comments on commit 794b3f4

Please sign in to comment.