diff --git a/www/common/hyperjson.js b/www/common/hyperjson.js index 991317a66..db6d3f20f 100644 --- a/www/common/hyperjson.js +++ b/www/common/hyperjson.js @@ -52,7 +52,7 @@ define([], function () { for(;i < el.attributes.length; i++){ var attr = el.attributes[i]; if(attr.name && attr.value){ - if(attr.name == "style"){ + if(attr.name === "style"){ attributes.style = parseStyle(el); } else{ diff --git a/www/common/rainbow.js b/www/common/rainbow.js index 843755cf2..6aa732c4e 100644 --- a/www/common/rainbow.js +++ b/www/common/rainbow.js @@ -6,7 +6,7 @@ define([], function () { t = [], rgb = [0,2,4]; - while(i