lint ALL the things
This commit is contained in:
1 parent
c0c057b756
commit
fe06168084
2 files changed
+12
-7
No files matched your search
Generated
+1
@@ -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
@@ -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'));
|
||||
|
||||
|
||||
Reference in new issue
Block a user