Workaround for circular require
This commit is contained in:
parent
d0997ed0c1
commit
5355da0960
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
var extra = require('./extra')
|
var extra = require('./extra');
|
||||||
var md = extra.md;
|
var md = extra.md;
|
||||||
var finishView = extra.finishView;
|
var finishView = extra.finishView;
|
||||||
var autoLinkify = extra.autoLinkify;
|
var autoLinkify = extra.autoLinkify;
|
||||||
|
@ -124,6 +124,10 @@ function scrollToBottom() {
|
||||||
}, 100, "linear");
|
}, 100, "linear");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.scrollToTop = scrollToTop;
|
||||||
|
window.scrollToBottom = scrollToBottom;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
scrollToBottom: scrollToBottom
|
scrollToBottom: scrollToBottom,
|
||||||
|
scrollToTop: scrollToTop
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue