Skip to content

Commit ee89d89

Browse files
committed
use global data.json again. pattern init was causing an if statement to evaluate always true. closes #99
1 parent c861eb1 commit ee89d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/patternlab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ var patternlab_engine = function(){
8787
//TODO: https://github.com/pattern-lab/patternlab-node/issues/95 check for patternstylemodifiers before we do much else. need to remove these from the template for proper rendering
8888

8989
//make a new Pattern Object
90-
currentPattern = new of.oPattern(subdir, filename, {});
90+
currentPattern = new of.oPattern(subdir, filename);
9191

9292
//see if this file has a state
9393
assembler.setPatternState(currentPattern, patternlab);

0 commit comments

Comments
 (0)