bookmarkleter
bookmarkleter copied to clipboard
Fix transpiling, support comments
Removing line separates will causes errors when the code has comments.
code.replace( /\n+/g, '' );
For example:
Codecov Report
Merging #24 into master will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #24 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 26 26
Branches 6 6
=========================================
Hits 26 26
Impacted Files | Coverage Δ | |
---|---|---|
bookmarkleter.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5287d59...1b44e91. Read the comment docs.