Main Page: Difference between revisions

From WebGL Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
== Syntax Highlighting Test ==
== Syntax Highlighting Test ==


<pre class="javascript">
<source class="javascript">
var a = 10;
var a = 10;
for (i = 0; i < 10; ++i) {
for (i = 0; i < 10; ++i) {
Line 30: Line 30:
     return a + b;
     return a + b;
}
}
</pre>
</source>


That is some highlighted text
That is some highlighted text

Revision as of 17:49, 4 December 2009

MediaWiki has been successfully installed.

Consult the User's Guide for information on using the wiki software.

Getting started

Links

Syntax Highlighting Test

var a = 10;
for (i = 0; i < 10; ++i) {
    this.call(a, i);

    // This is a comment
    canvas.getContext("webgl");
    canvas.drawElements();
    a += 1;
}

// This is a nice function with a
// multiline comment
function call(a, b)
{
    return a + b;
}

That is some highlighted text