Merge pull request #557 from artemave/patch-1

Animated transition on `window.history.back()`
This commit is contained in:
XhmikosR 2014-04-22 12:17:39 +03:00
Родитель 2967105bc4 87283fa264
Коммит 7187e60bd8
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -22,9 +22,10 @@
var maxCacheLength = 20;
var cacheMapping = sessionStorage;
var domCache = {};
// Change these to unquoted camelcase in the next major version bump
var transitionMap = {
slideIn : 'slide-out',
slideOut : 'slide-in',
'slide-in' : 'slide-out',
'slide-out' : 'slide-in',
fade : 'fade'
};
@ -239,7 +240,7 @@
url : window.location.href,
title : document.title,
timeout : options.timeout,
transition : null
transition : options.transition
});
}