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