mock console.debug
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 3 Nov 2010 22:19:15 +0000 (23:19 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 3 Nov 2010 22:19:15 +0000 (23:19 +0100)
templates/conference/Work.html.ep

index 7885fb7..351ec41 100644 (file)
@@ -1,5 +1,7 @@
 <script>
 
+if (typeof (console) === 'undefined') console = { debug: function() {} }; // mock console.debug
+
 function Work($resource){
        this.master = {
                type: '',