* zin: refactor js log.
This commit is contained in:
+6
-1
@@ -636,7 +636,12 @@
|
||||
const newOptions = window.beforePageLoad(options);
|
||||
if(newOptions) $.extend(options, newOptions);
|
||||
}
|
||||
if(DEBUG) console.log('[APP] ', 'load:', options.url);
|
||||
if(DEBUG)
|
||||
{
|
||||
console.groupCollapsed('[APP] ', 'load:', options.url);
|
||||
console.trace('options', options);
|
||||
console.groupEnd();
|
||||
}
|
||||
fetchContent(options.url, options.selector, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user