Remove useless definitions

This commit is contained in:
Tom Willemse 2014-01-26 12:38:10 +01:00
parent 8e12944b02
commit b99b063219

View file

@ -281,13 +281,3 @@ register_user_stylesheet(
oni_add_sheet("github.css");
oni_add_sheet("help.css");
oni_add_sheet("git-scm.css");
// Overwrite built-in one
function scroll_horiz_complete (buffer, n, y) {
var w = buffer.focused_frame;
w.scrollTo (n > 0 ? w.scrollMaxX : 0, y == null ? w.scrollY : y);
}
interactive("scroll-top-left",
"Scroll the current frame all the way to the top left",
function (I) { scroll_horiz_complete(I.buffer, -1, 0); });