cosmetic
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 2 Oct 2013 15:16:59 +0000 (17:16 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 2 Oct 2013 15:16:59 +0000 (17:16 +0200)
plugins/hazelnut/static/js/hazelnut.js
unfold/static/js/unfold-helper.js

index 48c8aaa..ae253d0 100644 (file)
     
            // adding an array in one call is *much* more efficient
            // this.table.fnAddData(line);
-           this.buffered_lines.push(line)
+           this.buffered_lines.push(line);
 
         },
 
index f5adb1b..7248567 100644 (file)
@@ -34,7 +34,7 @@ var unfold = {
     },
 
     escape_id: function(id) {
-        if(typeof id != 'undefined'){
+        if( id !== undefined){
             return id.replace( /(:|\.|\[|\])/g, "\\$1" );
         }else{
             return "undefined-id";