blob: 7c278c12d79e375d63fa5ad9a7d6e110803dd9af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
function fixture(html) {
var $article = $('#mw-content-text');
if ($article.length === 0) {
$article = $('<div id="mw-content-text"></div>');
$article.appendTo('body');
}
var $fix = $(html);
$article.append($fix);
return $fix;
}
function teardownFixtures() {
$('#mw-content-text').remove();
}
|