bookmarkleter icon indicating copy to clipboard operation
bookmarkleter copied to clipboard

Fix transpiling, support comments

Open dailyrandomphoto opened this issue 4 years ago • 1 comments

Removing line separates will causes errors when the code has comments.

code.replace( /\n+/g, '' );

For example: Bookmarkleter 2020-09-23 12-43-17

dailyrandomphoto avatar Sep 23 '20 04:09 dailyrandomphoto

Codecov Report

Merging #24 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            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.

codecov-commenter avatar Sep 23 '20 04:09 codecov-commenter