From 7625896bfbbefdce4fae6ad45712addd2fbeee8b Mon Sep 17 00:00:00 2001
From: Pascal Borreli
Date: Fri, 20 Mar 2015 18:07:59 +0000
Subject: [PATCH] Fixed typos
---
demoassets/resemble.css | 2 +-
index.html | 2 +-
resemble.js | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/demoassets/resemble.css b/demoassets/resemble.css
index dc7ed23..437ee36 100644
--- a/demoassets/resemble.css
+++ b/demoassets/resemble.css
@@ -58,7 +58,7 @@ footer {
left: 0;
}
#image-diff {
- margin-left: 0px;
+ margin-left: 0;
margin-top: 50px;
border-style: solid;
}
diff --git a/index.html b/index.html
index e1131fe..c266060 100644
--- a/index.html
+++ b/index.html
@@ -146,7 +146,7 @@
- View project on Github
+ View project on GitHub
diff --git a/resemble.js b/resemble.js
index bdd3756..900e190 100644
--- a/resemble.js
+++ b/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;
}