Skip to content

Commit 721ffe7

Browse files
author
Brian Muenzenmeyer
committed
Merge pull request #123 from pattern-lab/dev
Pulling v0.9.1 into master
2 parents f213fd1 + 8d52aa9 commit 721ffe7

File tree

8 files changed

+12
-9
lines changed

8 files changed

+12
-9
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT.
22

3+
PL-node-v0.9.1
4+
- FIX: Fixed an issue with view all navigation not checking for index out of bounds cases
5+
36
PL-node-v0.9.0
47
- FIX: Added grunt-contrib-copy args to copy all found source/css/*.css
58
- ADD: Added upgrade instructions to README

builder/lineage_hunter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/media_hunter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/object_factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/pattern_exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/patternlab.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.
@@ -8,7 +8,7 @@
88
*
99
*/
1010

11-
var patternlab_engine = function(){
11+
var patternlab_engine = function(){
1212
var path = require('path'),
1313
fs = require('fs-extra'),
1414
extend = require('util')._extend,
@@ -367,7 +367,7 @@ var entity_encoder = new he();
367367
navViewAllSubItem.patternPartial = "viewall-" + pattern.patternGroup + "-" + pattern.patternSubGroup;
368368

369369
//check if we are moving to a new sub section in the next loop
370-
if (pattern.patternSubGroup !== patternlab.patterns[i + 1].patternSubGroup) {
370+
if (!patternlab.patterns[i + 1] || pattern.patternSubGroup !== patternlab.patterns[i + 1].patternSubGroup) {
371371
navItem.navSubItems.push(navViewAllSubItem);
372372
navItem.navSubItemsIndex.push("View All");
373373
}

builder/patternlab_grunt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.9.0 - 2015
2+
* patternlab-node - v0.9.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "patternlab-node",
33
"description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).",
4-
"version": "0.9.0",
4+
"version": "0.9.1",
55
"devDependencies": {
66
"grunt": "~0.4.0",
77
"grunt-contrib-watch": "^0.6.1",

0 commit comments

Comments
 (0)