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 11
11
12
12
13
13
module . 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 ) ;
20
15
} ;
16
+
17
+ module . exports ( ) ;
Original file line number Diff line number Diff line change @@ -15,10 +15,8 @@ test('with comment separators', function (t) {
15
15
b . transform ( path . dirname ( __dirname ) ) ;
16
16
17
17
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 } } ) ;
22
20
} ) ;
23
21
24
22
function log ( msg ) {
You can’t perform that action at this time.
0 commit comments