Skip to content

Commit

Permalink
Make jshint more strict. Bump version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Jul 30, 2014
1 parent ce00976 commit c4cc3d2
Show file tree
Hide file tree
Showing 18 changed files with 210 additions and 185 deletions.
19 changes: 16 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ module.exports = function(grunt) {
}
},
jshint: {
options: {
browser: true,
indent: 2,
nonbsp: true,
nonew: true,
immed: true,
latedef: true
},
beforeconcat: [
'src/class.js',
'src/ie9.js',
Expand Down Expand Up @@ -105,9 +113,14 @@ module.exports = function(grunt) {
// Wrapper for $.fn style initialization
'src/jquery.js'
],
afterconcat: [
'dist/jsoneditor.js'
]
afterconcat: {
options: {
undef: true
},
files: {
src: ['dist/jsoneditor.js']
}
}
}
});

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-editor",
"version": "0.7.3",
"version": "0.7.4",
"authors": [
"Jeremy Dorn <[email protected]>"
],
Expand Down
Loading

0 comments on commit c4cc3d2

Please sign in to comment.