fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wielolinijkowy toolbar z dostosowywaniem wysokosci edytora.
[redakcja.git]
/
project
/
static
/
js
/
jquery.logging.js
diff --git
a/project/static/js/jquery.logging.js
b/project/static/js/jquery.logging.js
index
3b9175b
..
315d48f
100644
(file)
--- a/
project/static/js/jquery.logging.js
+++ b/
project/static/js/jquery.logging.js
@@
-1,9
+1,8
@@
(function($) {
(function($) {
- const LEVEL_DEBUG = 1;
- const LEVEL_INFO = 2;
- const LEVEL_WARN = 3;
-
- const LOG_LEVEL = LEVEL_DEBUG;
+ var LEVEL_DEBUG = 1;
+ var LEVEL_INFO = 2;
+ var LEVEL_WARN = 3;
+ var LOG_LEVEL = LEVEL_DEBUG;
var mozillaLog = function() {
if (window.console)
var mozillaLog = function() {
if (window.console)
@@
-27,7
+26,7
@@
if ($.browser.mozilla)
$.log.browserLog = mozillaLog;
if ($.browser.mozilla)
$.log.browserLog = mozillaLog;
- if ($.browser.safari)
+
else
if ($.browser.safari)
$.log.browserLog = safariLog;
else if($.browser.opera)
$.log.browserLog = operaLog;
$.log.browserLog = safariLog;
else if($.browser.opera)
$.log.browserLog = operaLog;