escape_id moves into plugin.js
[myslice.git] / unfold / static / js / unfold-helper.js
index 7248567..0595dde 100644 (file)
@@ -31,14 +31,6 @@ var unfold = {
         } else {
             return value;
         }
-    },
-
-    escape_id: function(id) {
-        if( id !== undefined){
-            return id.replace( /(:|\.|\[|\])/g, "\\$1" );
-        }else{
-            return "undefined-id";
-        }
     }
 
 } // global unfold