lint ALL the things

This commit is contained in:
Amrit Panesar committed 2017-03-23 12:40:29 -07:00
1 parent c0c057b756
commit fe06168084
2 files changed
+12 -7

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/public_html" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
+11 -7
View File
@@ -6,11 +6,16 @@
(function () {
if (typeof window.debug !== 'object') {
window.debug = {
log: function() {},
type: function() {},
error: function() {},
warn: function() {},
info: function() {}
log: function () {
},
type: function () {
},
error: function () {
},
warn: function () {
},
info: function () {
}
};
}
})();
@@ -164,8 +169,7 @@ $('window').ready(function () {
* @param type
* @param setHash
*/
var changeType = function(type, setHash)
{
var changeType = function (type, setHash) {
setHash = typeof setHash !== 'boolean' ? true : setHash;
debug.type('changeType()', 'setHash: ' + (setHash ? 'true' : 'false'));