Skip to content
Permalink
Browse files

demos: view source cleanup

  • Loading branch information
rdworth committed Jan 24, 2009
1 parent 29323c7 commit 47f9a3b7dc7a7dd68831e031bf51bd65cecc27d4
Showing with 6 additions and 1 deletion.
  1. +6 −1 demos/index.html
@@ -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() {

0 comments on commit 47f9a3b

Please sign in to comment.
You can’t perform that action at this time.