live-guide
Advanced tools
Comparing version 0.9.5 to 0.9.6
'use strict'; | ||
const path = require('path'); | ||
const buildNavigation = function(styleguideArray) { | ||
let options = this; | ||
let options = this, | ||
_nav = {}; | ||
@@ -13,5 +12,11 @@ options.navigation = {}; | ||
options.navigation[obj.title] = fileName; | ||
_nav[obj.title] = fileName; | ||
}); | ||
Object.keys(_nav) | ||
.sort() | ||
.forEach(function(v, i) { | ||
options.navigation[v] = _nav[v]; | ||
}); | ||
return styleguideArray; | ||
@@ -18,0 +23,0 @@ }; |
{ | ||
"name": "live-guide", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"description": "Generate style guides based on commented style sheets.", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38050
966