|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Wrong classes detected for error "Unknown class referenced"Hi!
Somehow the current version of the generator produces some interesting output: - ! Unknown class referenced: style (unify.control.Progress:143) - ! Unknown class referenced: style.opacity (unify.control.Progress:144) - ! Unknown class referenced: style.display (unify.control.Progress:145) These are the affected lines: style = this._getElement("root").style; if (style.opacity == 0) { style.display = "none"; } Not sure how the generator comes to the idea that I instantiate classes here. Cheers, Sebastian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Wrong classes detected for error "Unknown class referenced"It is because it doesn't know what style is.
To get rid or the warning change the begining of the first line to var style ;) Matt Sebastian Werner wrote: > Hi! > > Somehow the current version of the generator produces some interesting output: > > - ! Unknown class referenced: style (unify.control.Progress:143) > - ! Unknown class referenced: style.opacity (unify.control.Progress:144) > - ! Unknown class referenced: style.display (unify.control.Progress:145) > > These are the affected lines: > > style = this._getElement("root").style; > if (style.opacity == 0) { > style.display = "none"; > } > > Not sure how the generator comes to the idea that I instantiate classes here. > > Cheers, > Sebastian > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Wrong classes detected for error "Unknown class referenced"Sebastian Werner wrote: > Hi! > > Somehow the current version of the generator produces some interesting output: > > - ! Unknown class referenced: style (unify.control.Progress:143) > - ! Unknown class referenced: style.opacity (unify.control.Progress:144) > - ! Unknown class referenced: style.display (unify.control.Progress:145) > > These are the affected lines: > > style = this._getElement("root").style; > if (style.opacity == 0) { > style.display = "none"; > } > > Not sure how the generator comes to the idea that I instantiate classes here. > You are right, the warning message is misleading. I've changed it to "Unknown global symbol referenced", because that's what it actually means. Thanks. T. > Cheers, > Sebastian > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@... > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Wrong classes detected for error "Unknown class referenced"Thanks Thomas. There was in fact a missing "var" statement.
Cheers, Sebastian 2009/10/28 thron7 <thomas.herchenroeder@...>: > > > Sebastian Werner wrote: >> Hi! >> >> Somehow the current version of the generator produces some interesting output: >> >> - ! Unknown class referenced: style (unify.control.Progress:143) >> - ! Unknown class referenced: style.opacity (unify.control.Progress:144) >> - ! Unknown class referenced: style.display (unify.control.Progress:145) >> >> These are the affected lines: >> >> style = this._getElement("root").style; >> if (style.opacity == 0) { >> style.display = "none"; >> } >> >> Not sure how the generator comes to the idea that I instantiate classes here. >> > > You are right, the warning message is misleading. I've changed it to > "Unknown global symbol referenced", because that's what it actually > means. Thanks. > > T. > >> Cheers, >> Sebastian >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@... >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@... > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
| Free embeddable forum powered by Nabble | Forum Help |