6 var camelize = function(a,b){
7 return b.toUpperCase();
10 var fetchStyle = function(dom)
15 style = window.getComputedStyle(dom, null);
16 for(var i=0;i<style.length;i++){
18 var camel = prop.replace(/\-([a-z])/g, camelize);
19 var val = style.getPropertyValue(prop);