Rodrigo Fernandes
54b39158f5
fix changes summary on files headers
...
* since the alignment of the changes the file headers lost the style due to css changes
* update diff dependency and add dev dependencies
2015-10-31 21:55:15 +00:00
Mikko Rantanen
26d349b736
Align the file summary
...
Use <table> element to lay out the file summary. The summary is tabular
data anyway so the use of <table> should be justified. First column
contains lines added, justified to right and the second column contains
lines removed, justified to the left. The last column has the file name.
Fixes #27
2015-10-28 19:43:06 +02:00
Paulo Bu
c1ea2cb3b2
Extracts variables out of a loop
2015-10-20 10:55:22 +02:00
Nuno Teixeira
c2fb4bf1da
Use hashcode instead of filename for file list id
2015-10-19 15:43:16 +01:00
Nuno Teixeira
f1db9a9d6f
Show the list of changed files
...
- Optionally show the file list before the diff
- Change usage to accept configuration instead of multiple methods
2015-10-19 12:47:49 +01:00
Paulo Bu
a6efdd0f6a
Better regexp to handle unified diff header
2015-10-05 20:45:40 +02:00
Rodrigo Fernandes
861459931b
fix new and delete line identification
...
* add different prefixes for simple and combined diffs
2015-08-08 01:56:50 +01:00
Rodrigo Fernandes
de13e9506c
use webpack for the browser
...
* add webpack bundling
* clean bower dependencies since we are using webpack
* add jscs node style support
2015-08-08 01:11:35 +01:00
Rodrigo Fernandes
6514ac7477
clean project, better module exposing and documentation
...
* use native JS in example instead of jQuery
* better module exposing now using exports, module.export, self, window, global and this
* add example link to bower and npm definition
* add documentation on how to highlight
2015-07-19 22:08:17 +01:00
Rodrigo Fernandes
759239133f
merge npm package into main repo
2015-07-19 00:23:36 +01:00
Rodrigo Fernandes
d64f8a2d79
diff parser rules matching beginning of line
...
* diffs inside the diff where matching random line types
2015-07-11 23:38:08 +01:00
Rodrigo Fernandes
5cc3ebf63c
fix html escaping on diff
2015-06-21 22:49:05 +01:00
Rodrigo Fernandes
e598a81aa2
avoid diff prefix on hightlight
2015-05-31 23:07:23 +01:00
Rodrigo Fernandes
89b9b3926d
copy, rename and friends
2015-04-20 00:24:19 +01:00
Rodrigo Fernandes
2b3c977ff9
add support for both wordByWord and charByChar hightlight
2015-04-12 11:32:37 +01:00
Rodrigo Fernandes
0662960fae
compatibility with node code
2015-04-12 02:59:54 +01:00
Rodrigo Fernandes
a48fac6f1b
refactor the printers
2015-04-12 00:34:33 +01:00
Rodrigo Fernandes
2015436448
major refactor with classes
2015-04-12 00:09:05 +01:00