Skip to content

Commit 321a276

Browse files
committed
trailing spaces cleanup, closes #82
1 parent 9d3f814 commit 321a276

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1191
-1179
lines changed

.jshintrc-client

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"maxerr" : 50, // {int} Maximum error before stopping
3-
3+
44
// Enforcing
55
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
66
"camelcase" : false, // true: Identifiers must be in camelCase
@@ -29,7 +29,7 @@
2929
"maxstatements" : false, // {int} Max number statements per function
3030
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
3131
"maxlen" : false, // {int} Max number of characters per line
32-
32+
3333
// Relaxing
3434
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
3535
"boss" : false, // true: Tolerate assignments where comparisons would be expected
@@ -56,7 +56,7 @@
5656
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
5757
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
5858
"validthis" : false, // true: Tolerate using this in a non-constructor function
59-
59+
6060
// Environments
6161
"browser" : true, // Web Browser (window, document, etc)
6262
"couch" : false, // CouchDB
@@ -71,13 +71,13 @@
7171
"worker" : false, // Web Workers
7272
"wsh" : false, // Windows Scripting Host
7373
"yui" : false, // Yahoo User Interface
74-
74+
7575
// Legacy
7676
"nomen" : false, // true: Prohibit dangling `_` in variables
7777
"onevar" : false, // true: Allow only one `var` statement per function
7878
"passfail" : false, // true: Stop on first error
7979
"white" : false, // true: Check against strict whitespace and indentation rules
80-
80+
8181
// Custom Globals
8282
"predef" : ["$", "_", "Backbone", "moment", "app"] // additional predefined global variables
8383
}

.jshintrc-server

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"maxerr" : 50, // {int} Maximum error before stopping
3-
3+
44
// Enforcing
55
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
66
"camelcase" : false, // true: Identifiers must be in camelCase
@@ -29,7 +29,7 @@
2929
"maxstatements" : false, // {int} Max number statements per function
3030
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
3131
"maxlen" : false, // {int} Max number of characters per line
32-
32+
3333
// Relaxing
3434
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
3535
"boss" : false, // true: Tolerate assignments where comparisons would be expected
@@ -56,7 +56,7 @@
5656
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
5757
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
5858
"validthis" : false, // true: Tolerate using this in a non-constructor function
59-
59+
6060
// Environments
6161
"browser" : false, // Web Browser (window, document, etc)
6262
"couch" : false, // CouchDB
@@ -71,13 +71,13 @@
7171
"worker" : false, // Web Workers
7272
"wsh" : false, // Windows Scripting Host
7373
"yui" : false, // Yahoo User Interface
74-
74+
7575
// Legacy
7676
"nomen" : false, // true: Prohibit dangling `_` in variables
7777
"onevar" : false, // true: Allow only one `var` statement per function
7878
"passfail" : false, // true: Stop on first error
7979
"white" : false, // true: Check against strict whitespace and indentation rules
80-
80+
8181
// Custom Globals
8282
"predef" : [ ] // additional predefined global variables
8383
}

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module.exports = function(grunt) {
159159
}
160160
}
161161
});
162-
162+
163163
grunt.loadNpmTasks('grunt-contrib-uglify');
164164
grunt.loadNpmTasks('grunt-contrib-jshint');
165165
grunt.loadNpmTasks('grunt-contrib-less');
@@ -168,7 +168,7 @@ module.exports = function(grunt) {
168168
grunt.loadNpmTasks('grunt-concurrent');
169169
grunt.loadNpmTasks('grunt-nodemon');
170170
grunt.loadNpmTasks('grunt-newer');
171-
171+
172172
grunt.registerTask('default', ['newer:uglify', 'newer:less', 'concurrent']);
173173
grunt.registerTask('build', ['uglify', 'less']);
174174
grunt.registerTask('lint', ['jshint']);

app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ app.configure(function(){
5050
//twitter settings
5151
app.set('twitter-oauth-key', config.oauth.twitter.key);
5252
app.set('twitter-oauth-secret', config.oauth.twitter.secret);
53-
53+
5454
//github settings
5555
app.set('github-oauth-key', config.oauth.github.key);
5656
app.set('github-oauth-secret', config.oauth.github.secret);
57-
57+
5858
//facebook settings
5959
app.set('facebook-oauth-key', config.oauth.facebook.key);
6060
app.set('facebook-oauth-secret', config.oauth.facebook.secret);
61-
61+
6262
//middleware
6363
app.use(express.favicon(__dirname + '/public/favicon.ico'));
6464
app.use(express.logger('dev'));
@@ -73,10 +73,10 @@ app.configure(function(){
7373
app.use(passport.initialize());
7474
app.use(passport.session());
7575
app.use(app.router);
76-
76+
7777
//error handler
7878
app.use(require('./views/http/index').http500);
79-
79+
8080
//global locals
8181
app.locals.projectName = app.get('project-name');
8282
app.locals.copyrightYear = new Date().getFullYear();

layouts/account.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ html
2525
li: a(href='/logout/')
2626
i.fa.fa-user
2727
| Sign Out
28-
28+
2929
div.page
3030
div.container
3131
block body
32-
32+
3333
div.footer
3434
div.container
3535
div.inner
@@ -39,12 +39,12 @@ html
3939
li: a(href='/') Home
4040
li: a(href='/logout/') Sign Out
4141
div.clearfix
42-
42+
4343
div.ajax-spinner
4444
img(src='/media/ajax-pulse.gif')
45-
45+
4646
//if lte IE 9
4747
script(src='/layouts/ie-sucks.min.js?#{cacheBreaker}')
4848
script(src='/layouts/core.min.js?#{cacheBreaker}')
49-
49+
5050
block feet

layouts/admin.jade

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ html
2222
ul.nav.navbar-nav
2323
li.dropdown
2424
a.dropdown-toggle(href='#', data-toggle='dropdown')
25-
| System
25+
| System 
2626
span.caret
2727
ul.dropdown-menu
2828
li.dropdown-header Pivoted Settings
@@ -35,11 +35,11 @@ html
3535
li: a(href='/admin/administrators/') Administrators
3636
li: a(href='/admin/admin-groups/') Admin Groups
3737
form.navbar-form.pull-right#_search
38-
38+
3939
div.page
4040
div.container
4141
block body
42-
42+
4343
div.footer
4444
div.container
4545
div.inner
@@ -49,10 +49,10 @@ html
4949
li: a(href='/') Home
5050
li: a(href='/logout/') Sign Out
5151
div.clearfix
52-
52+
5353
div.ajax-spinner
5454
img(src='/media/ajax-pulse.gif')
55-
55+
5656
script(type='text/template', id='tmpl-_search')
5757
div.dropdown
5858
input.form-control(name='_search', type='text', placeholder='search', tab-index='1')
@@ -65,10 +65,10 @@ html
6565
|<% } %>
6666
script(type='text/template', id='tmpl-_search-results-empty-row')
6767
li.dropdown-header no docs matched
68-
68+
6969
//if lte IE 9
7070
script(src='/layouts/ie-sucks.min.js?#{cacheBreaker}')
7171
script(src='/layouts/core.min.js?#{cacheBreaker}')
7272
script(src='/layouts/admin.min.js?#{cacheBreaker}')
73-
73+
7474
block feet

layouts/default.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ html
2727
li: a(href='/login/')
2828
i.fa.fa-user
2929
| Sign In
30-
30+
3131
div.page
3232
div.container
3333
block body
34-
34+
3535
div.footer
3636
div.container
3737
span.copyright.pull-right
@@ -40,12 +40,12 @@ html
4040
li: a(href='/') Home
4141
li: a(href='/contact/') Contact
4242
div.clearfix
43-
43+
4444
div.ajax-spinner
4545
img(src='/media/ajax-pulse.gif')
46-
46+
4747
//if lte IE 9
4848
script(src='/layouts/ie-sucks.min.js?#{cacheBreaker}')
4949
script(src='/layouts/core.min.js?#{cacheBreaker}')
50-
50+
5151
block feet

models.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports = module.exports = function(app, mongoose) {
66
require('./schema/Status')(app, mongoose);
77
require('./schema/StatusLog')(app, mongoose);
88
require('./schema/Category')(app, mongoose);
9-
9+
1010
//then regular docs
1111
require('./schema/User')(app, mongoose);
1212
require('./schema/Admin')(app, mongoose);

node_modules/drywall-sendmail/index.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/drywall-workflow/index.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)