Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel

This commit is contained in:
Jeremy Ruston
2013-08-28 15:15:56 +01:00
parent e8425131f4
commit fbfe5a26c5
12 changed files with 68 additions and 76 deletions
+7
View File
@@ -395,4 +395,11 @@ exports.extractVersionInfo = function() {
}
/*
Get the animation duration in ms
*/
exports.getAnimationDuration = function() {
return parseInt($tw.wiki.getTiddlerText("$:/config/AnimationDuration","400"),10);
};
})();