Skip to content

Commit d1b4d75

Browse files
committed
AC-2783:Upgrade strip-json-comments library to the latest version
1 parent 0a834cc commit d1b4d75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/js/jasmine/spec_runner/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ var tasks = [],
1010

1111
function init(grunt, options) {
1212
var _ = require('underscore'),
13-
stripJsonComments = require('strip-json-comments'),
13+
stripComments = require('strip-comments'),
1414
path = require('path'),
1515
config,
1616
themes,
1717
file;
1818

1919
config = grunt.file.read(__dirname + '/settings.json');
20-
config = stripJsonComments(config);
20+
config = stripComments(config);
2121
config = JSON.parse(config);
2222

2323
themes = require(path.resolve(process.cwd(), config.themes));

package.json.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"path": "~0.12.7",
3535
"serve-static": "~1.15.0",
3636
"squirejs": "~0.2.1",
37-
"strip-json-comments": "~3.1.1",
37+
"strip-comments": "~2.0.1",
3838
"time-grunt": "~2.0.0",
3939
"underscore": "1.13.3"
4040
}

0 commit comments

Comments
 (0)