app-decorators
Version:
Collection of useful ES7 Decorators, writtin in ES6, that can be used for building webapps
27 lines (22 loc) • 775 B
JavaScript
System.register(['app-decorators/src/libs/element-to-function', './delay'], function (_export, _context) {
"use strict";
var _elementToFunc, delay;
return {
setters: [function (_appDecoratorsSrcLibsElementToFunction) {
_elementToFunc = _appDecoratorsSrcLibsElementToFunction.default;
}, function (_delay) {
delay = _delay.delay;
}],
execute: function () {
history.backAndWait = function (ms) {
history.back();
return delay(ms);
};
history.forwardAndWait = function (ms) {
history.forward();
return delay(ms);
};
}
};
});
//# sourceMappingURL=history.back-forward-and-wait.js.map