Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
A table showing how each ActionScript language 'feature' is should be translated to Google Closure Tools assisted JavaScript by the FalconJS Compiler.

{table}
{thead}{table-row}
{table-cellth}Description{table-cellth}{table-cellth}ActionScript{table-cellth}{table-cellth}Javascript{table-cellth}
{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}{table-cell}{table-cell}
{code:Javascript}goog.provide('com.example.components.MyClass');
/**
 * @constructor
 */
com.example.components.MyClass = function() {};
{code}
{table-cell}
{tbody}
{table}