Commit 9b6b1f8e authored by Leo Iannacone's avatar Leo Iannacone

better jshintrc files - split checks between node and browser

parent fe20412a
{
"globals": {
"$": false,
"console": false,
"config": false,
"Utils": false,
"debug_socket": false
},
"globalstrict": true,
"browser": true,
"node": true
......
/*jshint multistr: true */
'use strict';
function Parser() {
......@@ -35,4 +36,4 @@ Usage: %s [-c config]\n\
});
}
module.exports = Parser
module.exports = Parser;
{
"globals": {
"$": false,
"console": false,
"config": false
},
"globalstrict": true,
"browser": true
}
// main client javascript
/* global io: false */
/* global Preferences: false */
/* global Page_Generic: false */
/* global Page_Distrubion: false */
'use strict';
var preferences = new Preferences();
......@@ -23,7 +29,7 @@ if (window.location.pathname == '/') {
label = config.debomatic.admin.name;
real_email = '<a href="mailto:' + real_email + subject + '">' + label + '</a>';
$(this).html(real_email);
})
});
}
var socket = io.connect('/');
......
'use strict';
/* global debug: false */
/* global Utils: false */
/* global page_generic: false */
/* global debug: false */
/* global debug_socket: false */
// function to get all files in on click
// event comes from HTML
......
/* global Utils: false */
/* global debug_socket: false */
'use strict';
function Page_Generic() {
......
/* global debug: false */
/* global page_generic: false */
'use strict';
function Preferences() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment