Skip to content

Commit

Permalink
Updated moxiedoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
spocke committed Aug 13, 2009
1 parent 6e5506d commit 700ee7b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file modified tools/ant/js_build_tools.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions tools/templates/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,7 @@ code.syntax {
.version span, .author span {
font-weight: bold;
}

#yui-main #detailsView.loading {
background: #FFF url('../img/loader.gif') no-repeat center center;
}
Binary file added tools/templates/img/loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion tools/templates/js/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@
li.find("> ul").show();
});

$('#detailsView').html("").addClass("loading");

$.get(parts[1], "", function(data) {
data = /<body[^>]*>([\s\S]+)<\/body>/.exec(data);

if (data) {
$('#detailsView').html(data[1])[0].scrollTop = 0;
$('#detailsView').removeClass("loading").html(data[1])[0].scrollTop = 0;

SyntaxHighlighter.config.clipboardSwf = 'js/clipboard.swf';
SyntaxHighlighter.highlight({gutter : false});
Expand Down

0 comments on commit 700ee7b

Please sign in to comment.