sassdoc-extras
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "sassdoc-extras", | ||
"description": "SassDoc's Toolbelt", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -23,6 +23,6 @@ 'use strict'; | ||
return function (a, b) { | ||
for (var i = 0; i < sort; ++i) { | ||
for (var i = 0; i < sort.length; ++i) { | ||
var parts = parseCriteria(sort[i]); | ||
var key = parts[0]; | ||
var invert = parts[1]; | ||
var desc = parts[1]; | ||
@@ -34,3 +34,3 @@ var comparison = compare( | ||
if (invert) { | ||
if (desc) { | ||
comparison = invert(comparison); | ||
@@ -37,0 +37,0 @@ } |
8811