colorbrewer/colorbrewer-bg.css
[roojs1] / Roo.js
diff --git a/Roo.js b/Roo.js
index 727b751..6fe2b2b 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -68,7 +68,7 @@ Roo.apply = function(o, c, defaults){
             document.execCommand("BackgroundImageCache", false, true);
         }catch(e){}
     }
-
+    
     Roo.apply(Roo, {
         /**
          * True if the browser is in strict mode
@@ -397,8 +397,7 @@ Roo.factory(conf, Roo.data);
                     bs[1] = 0x80 | (c & 0x3F);
                 }else{
                         // 1 byte
-                    buffer += data.charAt(i);
-                    continue;
+                    bs[0] = c;
                 }
                 for(var j=0; j<bs.length; j++){
                     var b = bs[j];