Commits

Artyom Semyonov committed 57c32af

Minor fix for working without FireBug.

  • Participants
  • Parent commits 391334a

Comments (0)

Files changed (1)

File src/index.html

     <script type="text/javascript" src="http://static.tumblr.com/j8ivo9f/ljBl0td33/moomore.js"></script>
     <script type="text/javascript" src="mooffdebate.js"></script>
     <script type="text/javascript">
+        if (window.console === undefined){
+            var console = {};
+            console.dir = console.log = function(){};
+        }
         window.addEvent('DOMContentLoaded', function(){
 
             var processFriendFeed = function(data){
                 var comments = [];
                 var comments_container = $('frf-comments');
                 $each(data[0].comments, function(comment){
-                    console.dir(comment);
                     comments.push([
                     '<div class="comment">',
                         '<div class="comment-author">',