File: //usr/share/nodejs/turbolinks/src/turbolinks/index.js
// Generated by CoffeeScript 1.12.8
(function() {
this.Turbolinks = {
supported: (function() {
return (window.history.pushState != null) && (window.requestAnimationFrame != null) && (window.addEventListener != null);
})(),
visit: function(location, options) {
return Turbolinks.controller.visit(location, options);
},
clearCache: function() {
return Turbolinks.controller.clearCache();
},
setProgressBarDelay: function(delay) {
return Turbolinks.controller.setProgressBarDelay(delay);
}
};
module.exports = this.Turbolinks;
window.Turbolinks = this.Turbolinks;
require('./helpers');
require('./controller');
require('./script_warning');
require('./start');
}).call(this);