inliner.js
authorAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 05:25:22 +0000 (13:25 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 05:25:22 +0000 (13:25 +0800)
inliner.js

index 4c63023..42a2232 100644 (file)
@@ -3,9 +3,9 @@
 
 function(){
     
-    var camelize = function(a,b){
-        return b.toUpperCase();
-    }
+    //var camelize = function(a,b){
+    //    return b.toUpperCase();
+    //}
     
     var fill = function(dom)
     {
@@ -15,7 +15,7 @@ function(){
         style = window.getComputedStyle(dom, null);
         for(var i=0;i<style.length;i++){
             var prop = style[i];
-            var camel = prop.replace(/\-([a-z])/g, camelize);
+            //var camel = prop.replace(/\-([a-z])/g, camelize);
             var val = style.getPropertyValue(prop);
             //returns[camel] = val;
             dom.style[prop] = val;