minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-06-24 02:07:51 +03:00
parent 6221f56bd4
commit e9566a73b1
2 changed files with 2 additions and 2 deletions

View File

@ -597,7 +597,7 @@ var FeatureSetProto = {
.sort(function(a, b){
var i = loaded.indexOf(a[0])
var j = loaded.indexOf(b[0])
return (i > 0 && j > 0) ?
return (i >= 0 && j >= 0) ?
i - j
: a[1] - b[1]
})

View File

@ -1,6 +1,6 @@
{
"name": "ig-features",
"version": "3.1.4",
"version": "3.1.5",
"description": "",
"main": "features.js",
"scripts": {