Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly diff numbers and strings containing numbers (Addresses issue #10) #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ test:
node_modules/.bin/mocha \
--ui qunit \
--require should \
--require coffeescript/register \
--timeout $(TEST_TIMEOUT) \
--reporter $(TEST_REPORTER) \
--compilers coffee:coffee-script \
test/*.coffee

.PHONY: test
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,11 @@ is a space or tab, otherwise it is not ignorable.
Used as a default for parameter charjunk in [ndiff()](#ndiff).


Change Log
----------
* 0.1.0 Use Map instead of Object to hold values being diffed -- fixes the bug where e.g. "true" and true, or "0" and 0 compare as identical (forked from Qiao's 2012-04-22 commit: e11553ba3e303e2db206d04c95f8e51c5692ca28)


License
-------

Expand Down
4 changes: 3 additions & 1 deletion dist/difflib-browser.js

Large diffs are not rendered by default.

Loading