Skip to content

Commit 1e46ee0

Browse files
committed
delete commented code
1 parent 9cd4dd0 commit 1e46ee0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/pattern_assembler_tests.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,9 @@ tap.test('process_pattern_recursive recursively includes partials', function(tes
3535
patternlab.config.paths.public = public_dir;
3636
patternlab.config.outputFileSuffixes = {rendered: ''};
3737

38-
//patternlab.data = fs.readJSONSync(path.resolve(patternlab.config.paths.source.data, 'data.json'));
3938
patternlab.data = {};
40-
//patternlab.listitems = fs.readJSONSync(path.resolve(patternlab.config.paths.source.data, 'listitems.json'));
4139
patternlab.listitems = {};
42-
//patternlab.header = fs.readFileSync(path.resolve(patternlab.config.paths.source.patternlabFiles, 'templates/pattern-header-footer/header.html'), 'utf8');
4340
patternlab.header = '';
44-
//patternlab.footer = fs.readFileSync(path.resolve(patternlab.config.paths.source.patternlabFiles, 'templates/pattern-header-footer/footer.html'), 'utf8');
4541
patternlab.footer = '';
4642
patternlab.patterns = [];
4743
patternlab.data.link = {};
@@ -478,10 +474,6 @@ tap.test('parseDataLinks - replaces found link.* data for their expanded links',
478474
patternlab.listitems = {};
479475
patternlab.header = {};
480476
patternlab.footer = {};
481-
//patternlab.data = fs.readJSONSync(path.resolve(patternlab.config.paths.source.data, 'data.json'));
482-
//patternlab.listitems = fs.readJSONSync(path.resolve(patternlab.config.paths.source.data, 'listitems.json'));
483-
//patternlab.header = fs.readFileSync(path.resolve(patternlab.config.paths.source.patternlabFiles, 'templates/pattern-header-footer/header.html'), 'utf8');
484-
//patternlab.footer = fs.readFileSync(path.resolve(patternlab.config.paths.source.patternlabFiles, 'templates/pattern-header-footer/footer.html'), 'utf8');
485477
patternlab.patterns = [
486478
Pattern.createEmpty({ patternPartial: 'twitter-brad' }, patternlab),
487479
Pattern.createEmpty({ patternPartial: 'twitter-dave' }, patternlab),

0 commit comments

Comments
 (0)