diff --git a/.gitignore b/.gitignore index 519d3c5..f671a36 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ mergely-*.tgz package-lock.json *.log +diff-view2.js diff --git a/examples/app.js b/examples/app.js index a61390a..f1fce34 100644 --- a/examples/app.js +++ b/examples/app.js @@ -29,14 +29,12 @@ document.onreadystatechange = function () { }, lhs: function(setValue) { setValue(macbeth.join('\n')); - // setValue(lhs); }, rhs: function(setValue) { setValue(macbeth.join('\n') - .replace(/love/g,'bleed') - .replace(/heart/g, 'penis')); - // setValue(rhs); + .replace(/love/g, 'hate') + .replace(/heart/g, 'head')); }, - _debug: 'change,scroll' + _debug: '' }); }; diff --git a/examples/full-page.html b/examples/full-page.html new file mode 100644 index 0000000..915aace --- /dev/null +++ b/examples/full-page.html @@ -0,0 +1,37 @@ + + + +
+