On Sat, Jan 26, 2013 at 11:51 PM, Alex Harui <aha...@adobe.com> wrote:

>
>
>
> On 1/26/13 11:22 PM, "Om" <bigosma...@gmail.com> wrote:
>
> > !ClosureProblem!
> >
> > !ClosureProblem!
> >
> > !ClosureProblem!
> >
> > !ClosureProblem!
> >
> > !ClosureProblem!
> >
> > ======================================================
> >
> > I do see the following .js files in the directory though:
> >
> > MyController.js
> > MyInitialView.js
> > MyModel.js
> > MySimpleValuesImpl.js
> >
> > Thanks,
> > Om
> OK, hopefully you can make progress.
>
>
I managed to craft the html with the correct paths to the js files.  On
running the html file, firebug shows these errors:
Mostly because of the missing .js files.  I am guessing the
!ClosureProblem! prevented these .js files from being created.

goog.require could not find: org.apache.flex.binding.SimpleBinding
require()base.js (line 349)
name =

"org.apache.flex.binding.SimpleBinding"

MyInitialView.js()MyInitialView.js (line 3)

goog.global.console['error'](errorMessage);

base.js (line 349)

goog.require could not find: flash.events.Event
require()base.js (line 349)
name =

"flash.events.Event"

MyController.js()MyController.js (line 3)

goog.global.console['error'](errorMessage);

base.js (line 349)

goog.require could not find: org.apache.flex.core.SimpleValuesImpl
require()base.js (line 349)
name =

"org.apache.flex.core.SimpleValuesImpl"

MySimpleValuesImpl.js()MySimp...Impl.js (line 3)

goog.global.console['error'](errorMessage);

base.js (line 349)

goog.require could not find: flash.events.Event
require()base.js (line 349)
name =

"flash.events.Event"

MyModel.js()MyModel.js (line 3)

goog.global.console['error'](errorMessage);

base.js (line 349)

goog.require could not find: org.apache.flex.core.Application
require()base.js (line 349)
name =

"org.apache.flex.core.Application"

FlexJSTest.js()FlexJSTest.js (line 7)

goog.global.console['error'](errorMessage);

base.js (line 349)

Error: goog.require could not find: org.apache.flex.binding.SimpleBinding
[Break On This Error]

var app = new FlexJSTest();

FlexJSTest.html (line 28)

Error: goog.require could not find: flash.events.Event
[Break On This Error]

throw Error(errorMessage);

base.js (line 353)

Error: goog.require could not find: org.apache.flex.core.SimpleValuesImpl
[Break On This Error]

throw Error(errorMessage);

base.js (line 353)

Error: goog.require could not find: flash.events.Event
[Break On This Error]

throw Error(errorMessage);

base.js (line 353)

Error: goog.require could not find: org.apache.flex.core.Application
[Break On This Error]

throw Error(errorMessage);

base.js (line 353)

TypeError: FlexJSTest is not a constructor
[Break On This Error]

var app = new FlexJSTest();

FlexJSTest.html (line 28)

TypeError: app is undefined
[Break On This Error]

app.start()

Reply via email to