Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit a2f5cf7

Browse files
committed
fix typos and module path issues
1 parent 3452046 commit a2f5cf7

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

builder/object_factory.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*
2-
* patternlab-node - v0.13.0 - 2015
3-
*
1+
/*
2+
* patternlab-node - v0.13.0 - 2015
3+
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.
66
*
@@ -11,7 +11,7 @@
1111
(function () {
1212
"use strict";
1313

14-
var PatternEngines = require('pattern_engines/pattern_engines');
14+
var PatternEngines = require('./pattern_engines/pattern_engines');
1515

1616
var oPattern = function(abspath, subdir, filename, data){
1717
this.fileName = filename.substring(0, filename.indexOf('.'));
@@ -36,7 +36,8 @@
3636
this.lineageRIndex = [];
3737
this.engine = PatternEngines.getEngineForPattern(this);
3838
};
39-
// render method on oPatterns; this acts as a proxy for the
39+
// render method on oPatterns; this acts as a proxy for the PatternEngine's
40+
// render function
4041
oPattern.prototype.render = function (data, partials) {
4142
return this.engine.render(this.template, data, partials);
4243
};

builder/parameter_hunter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*
2-
* patternlab-node - v0.13.0 - 2015
3-
*
1+
/*
2+
* patternlab-node - v0.13.0 - 2015
3+
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.
66
*
@@ -14,7 +14,7 @@
1414
var parameter_hunter = function(){
1515

1616
var extend = require('util')._extend,
17-
pa = require('./pattern_asbsembler'),
17+
pa = require('./pattern_assembler'),
1818
mustache = require('mustache'),
1919
pattern_assembler = new pa();
2020

builder/patternlab.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* patternlab-node - v0.13.0 - 2015
3-
*
1+
/*
2+
* patternlab-node - v0.13.0 - 2015
3+
*
44
* Brian Muenzenmeyer, and the web community.
5-
* Licensed under the MIT license.
6-
*
7-
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
5+
* Licensed under the MIT license.
6+
*
7+
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
88
*
99
*/
1010

0 commit comments

Comments
 (0)