Skip to content

Commit

Permalink
Corrected code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Nalepa committed May 25, 2017
1 parent cef749a commit 768d7b2
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 55 deletions.
100 changes: 50 additions & 50 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
{
"browser": true,
"node": true,
"bitwise": true,
"curly": true,
"eqeqeq": false,
"forin": true,
"immed": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nomen": false,
"onevar": true,
"plusplus": false,
"regexp": false,
"strict": false,
"trailing": true,
"unused": "vars",
"white": false,
"asi": false,
"boss": false,
"debug": false,
"eqnull": false,
"es5": false,
"esnext": false,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": false,
"laxbreak": true,
"laxcomma": false,
"loopfunc": false,
"multistr": false,
"onecase": false,
"proto": false,
"regexdash": false,
"scripturl": false,
"shadow": false,
"smarttabs": false,
"sub": false,
"supernew": false,
"maxerr": 500,
"maxlen": 150,
"passfail": false,
"latedef": true,
"camelcase": true,
"indent": 4,
"undef": true,
"asi": false,
"bitwise": true,
"boss": false,
"browser": true,
"camelcase": true,
"curly": true,
"debug": false,
"eqeqeq": false,
"eqnull": false,
"es5": false,
"esnext": false,
"evil": false,
"expr": false,
"forin": true,
"funcscope": false,
"globals": {
"Dragster": true
}
},
"globalstrict": false,
"immed": true,
"indent": 4,
"iterator": false,
"lastsemic": false,
"latedef": true,
"laxbreak": true,
"laxcomma": false,
"loopfunc": false,
"maxerr": 500,
"maxlen": 150,
"multistr": false,
"newcap": true,
"noarg": true,
"node": true,
"noempty": true,
"nomen": false,
"onecase": false,
"onevar": true,
"passfail": false,
"plusplus": false,
"proto": false,
"regexdash": false,
"regexp": false,
"scripturl": false,
"shadow": false,
"smarttabs": false,
"strict": false,
"sub": false,
"supernew": false,
"trailing": true,
"undef": true,
"unused": "vars",
"white": false
}
6 changes: 4 additions & 2 deletions module-generator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* global Promise */

var fs = require('fs');
var promises = [
new Promise(function (resolve, reject) {
Expand All @@ -9,7 +11,7 @@ var promises = [
}

resolve(data);
})
});
}),
new Promise(function (resolve, reject) {
fs.readFile('dragster-comment.js', 'utf8', function (error, data) {
Expand All @@ -20,7 +22,7 @@ var promises = [
}

resolve(data);
})
});
}),
new Promise(function (resolve, reject) {
fs.readFile('template.common.js', 'utf8', function (error, data) {
Expand Down
2 changes: 1 addition & 1 deletion template.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[COMMENT]
[COMMENT] //jshint ignore:line
;(function (root, moduleName, factory) {
'use strict';

Expand Down
4 changes: 2 additions & 2 deletions template.es6.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[COMMENT]
[DRAGSTER]
[COMMENT] //jshint ignore:line
[DRAGSTER] //jshint ignore:line

export default Dragster;

0 comments on commit 768d7b2

Please sign in to comment.