We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 894309b commit 2f8b46bCopy full SHA for 2f8b46b
src/console-polyfill.js
@@ -0,0 +1,11 @@
1
+try {
2
+ if (!(window.console && console.log)) {
3
+ console = {
4
+ log: function(){},
5
+ debug: function(){},
6
+ info: function(){},
7
+ warn: function(){},
8
+ error: function(){}
9
+ };
10
+ }
11
+} catch(e) {}
src/main.js
@@ -1,3 +1,4 @@
+import './console-polyfill'
import Store from './store'
import Reactor from './reactor'
import Immutable from 'immutable'
0 commit comments