Permalink
Browse files

Fix test itself.

  • Loading branch information...
1 parent ffd5795 commit 31525381355f9e27e4aedd4e049ac000fe5ed9c7 Lee Heung-sub committed Oct 6, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/test-itself.html
View
@@ -11,12 +11,12 @@
<img src="../artwork/jdoctest.png" />
<pre style="text-align: left;"><code class="console"></code></pre>
<script>
- jDoctest.testSource( "example.js", {
- //alreadyLoaded: true,
+ jDoctest.testSource( "../jdoctest.js", {
+ alreadyLoaded: true,
//verbose: true,
console: {
- log: function() {},
- warn: function() {},
+ log: function( msg ) { window.console && window.console.log( msg ); },
+ warn: function( msg ) { window.console && window.console.warn( msg ); },
error: function( msg ) {
var con = $( ".console" );
msg = $( "<span style='color: red;'></span>" ).text( msg );

0 comments on commit 3152538

Please sign in to comment.