Ack. Read the error incorrectly. It may not be BarChartLayout that is incorrect. Do you know which .js file is actually complaining?
On 2/6/14 10:29 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: >On Feb 6, 2014 10:08 PM, "Alex Harui" <aha...@adobe.com> wrote: >> >> >> >> On 2/6/14 9:38 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: >> >> >On Feb 6, 2014 8:24 PM, "Alex Harui" <aha...@adobe.com> wrote: >> >> >> >> >> >> >> >> On 2/6/14 6:04 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> >>wrote: >> >> >> >> >App works fine even though I am getting a warning during the JS >> >> >compilation >> >> >part: >> >> > >> >> >WARNING - Bad type annotation. Unknown type >> >> >org.apache.flex.charts.beads.layouts.BarChartLayout >> >> > [java] var /** @type >> >> >{org.apache.flex.charts.beads.layouts.BarChartLayout} */ >> >>barChartLayout = >> >> >org.apache.flex.utils.Language.as >> >(this._strand.getBeadByType(org.apache.fl >> >> >ex.core.IBeadLayout), >> >> >org.apache.flex.charts.beads.layouts.BarChartLayout); >> >> I think this means that BarChartLayout doesn't have a goog.require in >> >>the >> >> .js file, which should be output by the cross-compiler if in the .as >> >>file >> >> there is an import and the class is referenced. >> > >> >Is it because I am unable to run gslint on my machine? >> >> I don't think so. Is BarChartLayout.as in FlexJSJX? Then the >> BarChartLayout.js should be generated by the compiler and those files >> don't get run through the linter. >> >> Have you changed BarChartLayout.as? Otherwise I'll try to see if I have >> the same problem on my end. >> > >I did change BarChartLayout.as and XAxisBead.as > >Thanks, >Om > >> -Alex >>