chore: webpack upgrade (#98)

* upgraded to webpack 4.x

* updated webpack
This commit is contained in:
Jamie Peabody
2018-11-17 09:12:45 +00:00
committed by GitHub
parent 3d44470103
commit d9f2edc1ad
12 changed files with 254 additions and 91 deletions

18
examples/app.js Normal file
View File

@@ -0,0 +1,18 @@
require('codemirror/lib/codemirror.css');
require('../src/mergely.css');
$(document).ready(function () {
$('#mergely').mergely({
license: 'lgpl',
cmsettings: {
readOnly: false
},
_debug: '',
lhs: function(setValue) {
setValue('the quick red fox\njumped over the hairy dog');
},
rhs: function(setValue) {
setValue('the quick brown fox\njumped over the lazy dog');
}
});
});