Browse Source

Fixed typos

pull/37/head
Pascal Borreli 10 years ago
parent
commit
7625896bfb
  1. 2
      demoassets/resemble.css
  2. 2
      index.html
  3. 6
      resemble.js

2
demoassets/resemble.css

@ -58,7 +58,7 @@ footer {
left: 0;
}
#image-diff {
margin-left: 0px;
margin-left: 0;
margin-top: 50px;
border-style: solid;
}

2
index.html

@ -146,7 +146,7 @@
</p>
<p>
<br/>
<a class="btn btn-large btn-primary" href="https://github.com/Huddle/Resemble.js"><strong>View project on Github</strong></a>
<a class="btn btn-large btn-primary" href="https://github.com/Huddle/Resemble.js"><strong>View project on GitHub</strong></a>
</p>
</div>
<div class="span6">

6
resemble.js

@ -262,7 +262,7 @@ URL: https://github.com/Huddle/Resemble.js
var j;
var hasHighContrastSibling = 0;
var hasSiblingWithDifferentHue = 0;
var hasEquivilantSibling = 0;
var hasEquivalentSibling = 0;
addHueInfo(sourcePix);
@ -288,7 +288,7 @@ URL: https://github.com/Huddle/Resemble.js
}
if( isRGBSame(sourcePix,targetPix) ){
hasEquivilantSibling++;
hasEquivalentSibling++;
}
if( Math.abs(targetPix.h - sourcePix.h) > 0.3 ){
@ -302,7 +302,7 @@ URL: https://github.com/Huddle/Resemble.js
}
}
if(hasEquivilantSibling < 2){
if(hasEquivalentSibling < 2){
return true;
}

Loading…
Cancel
Save