Skip to content

Commit

Permalink
Merge pull request #123 from pattern-lab/dev
Browse files Browse the repository at this point in the history
Pulling v0.9.1 into master
  • Loading branch information
Brian Muenzenmeyer authored and geoffp committed Feb 23, 2018
1 parent 9d6222b commit b6f4320
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions packages/patternengine-node-handlebars/CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions packages/patternengine-node-handlebars/builder/patternlab.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -8,7 +8,7 @@
*
*/

var patternlab_engine = function(){
var patternlab_engine = function(){
var path = require('path'),
fs = require('fs-extra'),
extend = require('util')._extend,
Expand Down Expand Up @@ -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");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/patternengine-node-handlebars/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b6f4320

Please sign in to comment.