File tree Expand file tree Collapse file tree 4 files changed +0
-140
lines changed Expand file tree Collapse file tree 4 files changed +0
-140
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -401,8 +401,6 @@ function sortPatterns(patternsArray) {
401
401
// MAIN BUILDER FUNCTION
402
402
403
403
function buildFrontEnd ( patternlab ) {
404
- var mh = require ( './media_hunter' ) ;
405
- var media_hunter = new mh ( ) ;
406
404
var ae = require ( './annotation_exporter' ) ;
407
405
var annotation_exporter = new ae ( patternlab ) ;
408
406
var styleguidePatterns = [ ] ;
@@ -416,9 +414,6 @@ function buildFrontEnd(patternlab) {
416
414
//sort all patterns explicitly.
417
415
patternlab . patterns = sortPatterns ( patternlab . patterns ) ;
418
416
419
- //find mediaQueries
420
- media_hunter . find_media_queries ( path . resolve ( paths . source . css ) , patternlab ) ;
421
-
422
417
// check if patterns are excluded, if not add them to styleguidePatterns
423
418
styleguidePatterns = assembleStyleguidePatterns ( patternlab ) ;
424
419
@@ -478,7 +473,6 @@ function buildFrontEnd(patternlab) {
478
473
//ishControls
479
474
output += 'var ishControls = {"ishControlsHide":' + JSON . stringify ( patternlab . config . ishControlsHide ) + '};' + eol ;
480
475
481
- //todo add media queries to this
482
476
//navItems
483
477
output += 'var navItems = {"patternTypes": ' + JSON . stringify ( patternlab . patternTypes ) + '};' + eol ;
484
478
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments