fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reverted CM to version 0.63 with 2 patches:
[redakcja.git]
/
project
/
static
/
js
/
app.js
diff --git
a/project/static/js/app.js
b/project/static/js/app.js
index
e8875c9
..
9de3c7f
100644
(file)
--- a/
project/static/js/app.js
+++ b/
project/static/js/app.js
@@
-3,6
+3,14
@@
var editor;
var panel_hooks;
var panel_hooks;
+// prevent a console.log from blowing things up if we are on a browser that
+// does not support it
+if (typeof console === 'undefined') {
+ window.console = {} ;
+ console.log = console.info = console.warn = console.error = function(){};
+}
+
+
(function(){
// Classes
var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
(function(){
// Classes
var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
@@
-173,5
+181,4
@@
Editor.Object = Class.extend({
Editor.Object._lastGuid = 0;
Editor.Object._lastGuid = 0;
-
var panels = [];
var panels = [];