mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-02 12:16:55 +00:00
Revised test data
Testing against the output of cook.rb isn't satisfactory because of the bugs in it; instead we're now going to test against the tiddlywiki.com build products
This commit is contained in:
10
test/tiddlywiki.2.6.5/source/tiddlywiki/js/Scroller.js
Executable file
10
test/tiddlywiki.2.6.5/source/tiddlywiki/js/Scroller.js
Executable file
@@ -0,0 +1,10 @@
|
||||
//--
|
||||
//-- Scroller animation
|
||||
//--
|
||||
|
||||
function Scroller(targetElement)
|
||||
{
|
||||
var p = [{style: '-tw-vertScroll', start: findScrollY(), end: ensureVisible(targetElement)}];
|
||||
return new Morpher(targetElement,config.animDuration,p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user