You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

 
package com.example.components
{
public class MyClass
{
    public function MyClass() {}
}
}

|

goog.provide('com.example.components.MyClass');
/**
 * @constructor
 */
com.example.components.MyClass = function() {};

|

  • No labels