diff --git a/packages/patternengine-node-handlebars/CHANGELOG b/packages/patternengine-node-handlebars/CHANGELOG index ac07e9a82..287c78c09 100644 --- a/packages/patternengine-node-handlebars/CHANGELOG +++ b/packages/patternengine-node-handlebars/CHANGELOG @@ -1,5 +1,8 @@ THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT. +PL-node-v0.9.1 + - FIX: Fixed an issue with view all navigation not checking for index out of bounds cases + PL-node-v0.9.0 - FIX: Added grunt-contrib-copy args to copy all found source/css/*.css - ADD: Added upgrade instructions to README diff --git a/packages/patternengine-node-handlebars/builder/lineage_hunter.js b/packages/patternengine-node-handlebars/builder/lineage_hunter.js index 3b19c63a6..50679b64b 100644 --- a/packages/patternengine-node-handlebars/builder/lineage_hunter.js +++ b/packages/patternengine-node-handlebars/builder/lineage_hunter.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. diff --git a/packages/patternengine-node-handlebars/builder/media_hunter.js b/packages/patternengine-node-handlebars/builder/media_hunter.js index 20487b527..de16591be 100644 --- a/packages/patternengine-node-handlebars/builder/media_hunter.js +++ b/packages/patternengine-node-handlebars/builder/media_hunter.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. diff --git a/packages/patternengine-node-handlebars/builder/object_factory.js b/packages/patternengine-node-handlebars/builder/object_factory.js index 788314318..47c112c81 100644 --- a/packages/patternengine-node-handlebars/builder/object_factory.js +++ b/packages/patternengine-node-handlebars/builder/object_factory.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. diff --git a/packages/patternengine-node-handlebars/builder/pattern_exporter.js b/packages/patternengine-node-handlebars/builder/pattern_exporter.js index b65183fdc..75dae4e2b 100644 --- a/packages/patternengine-node-handlebars/builder/pattern_exporter.js +++ b/packages/patternengine-node-handlebars/builder/pattern_exporter.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. diff --git a/packages/patternengine-node-handlebars/builder/patternlab.js b/packages/patternengine-node-handlebars/builder/patternlab.js index fc331d124..d0f457f5c 100644 --- a/packages/patternengine-node-handlebars/builder/patternlab.js +++ b/packages/patternengine-node-handlebars/builder/patternlab.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. @@ -8,7 +8,7 @@ * */ - var patternlab_engine = function(){ +var patternlab_engine = function(){ var path = require('path'), fs = require('fs-extra'), extend = require('util')._extend, @@ -367,7 +367,7 @@ var entity_encoder = new he(); navViewAllSubItem.patternPartial = "viewall-" + pattern.patternGroup + "-" + pattern.patternSubGroup; //check if we are moving to a new sub section in the next loop - if (pattern.patternSubGroup !== patternlab.patterns[i + 1].patternSubGroup) { + if (!patternlab.patterns[i + 1] || pattern.patternSubGroup !== patternlab.patterns[i + 1].patternSubGroup) { navItem.navSubItems.push(navViewAllSubItem); navItem.navSubItemsIndex.push("View All"); } diff --git a/packages/patternengine-node-handlebars/builder/patternlab_grunt.js b/packages/patternengine-node-handlebars/builder/patternlab_grunt.js index 89fdf2d4a..fecd74b80 100644 --- a/packages/patternengine-node-handlebars/builder/patternlab_grunt.js +++ b/packages/patternengine-node-handlebars/builder/patternlab_grunt.js @@ -1,5 +1,5 @@ /* - * patternlab-node - v0.9.0 - 2015 + * patternlab-node - v0.9.1 - 2015 * * Brian Muenzenmeyer, and the web community. * Licensed under the MIT license. diff --git a/packages/patternengine-node-handlebars/package.json b/packages/patternengine-node-handlebars/package.json index 3117c50a0..c23c00f2e 100644 --- a/packages/patternengine-node-handlebars/package.json +++ b/packages/patternengine-node-handlebars/package.json @@ -1,7 +1,7 @@ { "name": "patternlab-node", "description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).", - "version": "0.9.0", + "version": "0.9.1", "devDependencies": { "grunt": "~0.4.0", "grunt-contrib-watch": "^0.6.1",