src/js/utils.js
branchpopcorn-port
changeset 836 526f91f5253e
parent 835 a8af9da7c622
child 837 353a78021ebc
--- a/src/js/utils.js	Tue Mar 20 21:17:48 2012 +0100
+++ b/src/js/utils.js	Wed Mar 21 16:43:25 2012 +0100
@@ -184,14 +184,7 @@
   return url;
 };
 
-/** Similar to substr but remove the last word if
-    we're breaking a word in two.
- */ 
-IriSP.clean_substr = function(str, start, end) {
-  var s = str.substr(start, end).substr(start, end).split(" ");
-  s.pop();
-  return s.join(" ");
-};
+
 /* for ie compatibility
 if (Object.prototype.__defineGetter__&&!Object.defineProperty) {
    Object.defineProperty=function(obj,prop,desc) {