From 5a6500c3b821fe2ee6af1a5f060ad11436b10f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Galliat?= Date: Sat, 7 Feb 2015 01:01:24 +0100 Subject: [PATCH 1/2] Bump 2.0.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b247e67..522bc61 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "SassDoc's default theme", "title": "SassDoc Default Theme", "author": "SassDoc team", - "version": "2.0.4", + "version": "2.0.5", "keywords": [ "sassdoc-theme" ], From b4ae0ddc992e62401ed5262e252d0d24aac06e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Galliat?= Date: Sat, 7 Feb 2015 01:01:36 +0100 Subject: [PATCH 2/2] Fix typo in variable name --- src/swig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swig.js b/src/swig.js index b8524f5..e07a7e1 100644 --- a/src/swig.js +++ b/src/swig.js @@ -38,7 +38,7 @@ const yiqContrast = rgb => const getChannel = (start, hex) => parseInt(hex.substr(start, 2), 16); -const hexTorgb = hex => +const hexToRgb = hex => [0, 2, 4].map(x => getChannel(x, hex)); const colorToHex = color =>