jquery-ias-es6
Version:
A jQuery plugin that turns your server-side pagination into an infinite scrolling one using AJAX
16 lines (13 loc) • 337 B
JavaScript
buster.spec.expose();
var expect = buster.assertions.expect;
var when = buster.when;
function loadFixture(path, callback) {
jQuery.ajax({
url: buster.env.contextPath + "/" + path,
async: false,
success: function (data, textStatus, jqXHR) {
$('body').html(data);
callback.apply();
}
});
}