mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
demos: view source cleanup
This commit is contained in:
parent
29323c710d
commit
47f9a3b7dc
@ -211,7 +211,12 @@
|
||||
return false;
|
||||
}).end().find(">div").hide();
|
||||
}
|
||||
$('#demo-source code').empty().text(source);
|
||||
var cleanedSource = source
|
||||
.replace('themes/base/ui.all.css', 'theme/ui.all.css')
|
||||
.replace(/\s*\x3Clink.*demos\x2Ecss.*\x3E\s*/, '\r\n\t')
|
||||
.replace(/\x2E\x2E\x2F\x2E\x2E\x2F/g, '');
|
||||
|
||||
$('#demo-source code').empty().text(cleanedSource);
|
||||
}
|
||||
|
||||
function resetDemos() {
|
||||
|
Loading…
Reference in New Issue
Block a user