flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyrill Zadra <cyrill.za...@gmail.com>
Subject [FalconJX] JSGoogEmitter.emitMethod
Date Mon, 15 Apr 2013 13:17:40 GMT
HI Erik

Got following scenario:

    public function TestClass()

JSGoogEmiter produces following javascript ->

* @constructor
TestClass = function() {
  var self = this;

.. which produces a google closure error ->

ERROR - incorrect use of goog.base: Could not find goog.inherits for base class

So I'm looking for a way where goog.base is only written if TestClass
has a superClass and I found the implementation for the output in
emitMethod... don't want to offend you.. but with all those conditions
in this method I'm a little confused .. can't we somehow seperate
method and constructor case?


View raw message