forked from zxing-js/text-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Remove "new TextEncoding.TextEncoder()" and "new TextEncoding.TextDecoder()" from browser tests, and leave just old "new TextEncoder()" and "new TextDecoder()". 2. Define "new TextEncoder()" and "new TextDecoder()" if this is undefined. 3. To override "TextEncoder/TextDecoder", use: <script> window.TextEncoder = undefined; window.TextDecoder = undefined; //or //window.TextEncoder = window.TextDecoder = null; </script> 4. "new TextEncoding.TextEncoder()" and "new TextEncoding.TextDecoder()" working too, when "TextEncoder/TextDecoder" is already defined.
- Loading branch information
1 parent
5eb0906
commit 031827f
Showing
13 changed files
with
102 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
031827f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was been fixed, as progress of this issue: zxing-js#5
Some files have
CRLF
, as theend of line
, because after running the command:Git
automatically changeLF
toCRLF
, so, to disable this, need to use:Maybe, this can be hardcoded in
.gitattributes