Morning clean up.

Removed useless function get_changes. Moved current_diff out of this.settings (and along this.changes)
Handle the case where comparing identical files (e.g. changes.length==0).

ajax.html uses https for jquery so that it can be hosted on a https server.
ajax.html uses full available screen width, auto height is trickier (note that call to _auto_height is commented out in mergely.js).
This commit is contained in:
Kljh
2014-08-17 08:11:13 +01:00
parent 4128796bfa
commit 572eb08aaa
3 changed files with 30 additions and 49 deletions

View File

@@ -3,7 +3,7 @@
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 400px;
height: 300px;
}
.CodeMirror-scroll {
/* Set scrolling behaviour here */