File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1111
1212
1313module . exports = function ( ) {
14- var
15- tag = document . createElement ( 'style' ) ,
16- content = document . createTextNode ( style ) ;
17-
18- tag . appendChild ( content ) ;
19- document . body . appendChild ( tag ) ;
14+ console . log ( style ) ;
2015} ;
16+
17+ module . exports ( ) ;
Original file line number Diff line number Diff line change @@ -15,10 +15,8 @@ test('with comment separators', function (t) {
1515 b . transform ( path . dirname ( __dirname ) ) ;
1616
1717 b . bundle ( function ( err , src ) {
18- console . error ( "NOT PRESENTLY WORKING: with_comments.js" ) ;
19- t . ok ( true , 'failing test' ) ;
20- // if (err) t.fail(err);
21- // vm.runInNewContext(src, { console: { log: log } });
18+ if ( err ) t . fail ( err ) ;
19+ vm . runInNewContext ( src , { console : { log : log } } ) ;
2220 } ) ;
2321
2422 function log ( msg ) {
You can’t perform that action at this time.
0 commit comments