THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Wiki Markup |
---|
A table showing how each ActionScript language 'feature' is should be translated to Google Closure Tools assisted JavaScript by the FalconJS Compiler. |
...
Description | ActionScript | Javascript |
---|---|---|
Simple Class definition |
Code Block | ||
---|---|---|
ActionScript | ActionScript |
{table}
{thead}{table-row}
{table-cell}Description{table-cell}{table-cell}ActionScript{table-cell}{table-cell}Javascript{table-cell}
{table-row}{thead}
{tbody}
{table-cell}Simple Class definition{table-cell}{table-cell}
{code:ActionScript}
package com.example.components
{
public class MyClass
{
public function MyClass() {}
}
}
|
|
Code Block | ||
---|---|---|
Javascript | Javascript | {code}{table-cell}{table-cell}
{code:Javascript}goog.provide('com.example.components.MyClass');
/**
* @constructor
*/
com.example.components.MyClass = function() {};
|
...
{code}
{table-cell}
{tbody}
{table} |