Skip to content

Commit 2dbb085

Browse files
committed
build
1 parent 3bf5615 commit 2dbb085

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

dist/2.x/ByteBeat.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161

6262
static removeCommentsAndLineBreaks(x) {
6363
// remove comments (hacky)
64-
x = x.replace(/\/\/.*/g, ' ');
65-
x = x.replace(/\n/g, ' ');
66-
x = x.replace(/\/\*.*?\*\//g, ' ');
64+
//x = x.replace(/\/\/.*/g, ' ');
65+
//x = x.replace(/\n/g, ' ');
66+
//x = x.replace(/\/\*.*?\*\//g, ' ');
6767
return x;
6868
}
6969

@@ -379,7 +379,7 @@
379379
} else { // infix
380380
x = `
381381
return function(t, i, stack, window, extra) {
382-
return ${ByteBeatCompiler.strip(x)};
382+
return 0,${ByteBeatCompiler.strip(x)};
383383
}`;
384384
}
385385
}

dist/2.x/ByteBeat.module.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class ByteBeatCompiler {
5555

5656
static removeCommentsAndLineBreaks(x) {
5757
// remove comments (hacky)
58-
x = x.replace(/\/\/.*/g, ' ');
59-
x = x.replace(/\n/g, ' ');
60-
x = x.replace(/\/\*.*?\*\//g, ' ');
58+
//x = x.replace(/\/\/.*/g, ' ');
59+
//x = x.replace(/\n/g, ' ');
60+
//x = x.replace(/\/\*.*?\*\//g, ' ');
6161
return x;
6262
}
6363

@@ -373,7 +373,7 @@ class ByteBeatCompiler {
373373
} else { // infix
374374
x = `
375375
return function(t, i, stack, window, extra) {
376-
return ${ByteBeatCompiler.strip(x)};
376+
return 0,${ByteBeatCompiler.strip(x)};
377377
}`;
378378
}
379379
}

0 commit comments

Comments
 (0)