Main Page: Difference between revisions

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


<source lang="javascript">
<pre class="javascript">
var a = 10;
var a = 10;
for (i = 0; i < 10; ++i) {
for (i = 0; i < 10; ++i) {
     this.call(a, i);
     this.call(a, i);
    // This is a comment
     canvas.getContext("webgl");
     canvas.getContext("webgl");
     canvas.drawElements();
     canvas.drawElements();
Line 22: Line 24:
}
}


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


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