Welcome, guest Sign In

What Do These Messages Mean?

Compile-Time Errors

Compile-time errors show up as messages at the end of your application preview, and look something like this:

Most LINT and WARNING messages are harmless and can be ignored, but pay attention to any "failed to load external url" warnings.

Here are some of the common errors:

External scripts and stylesheets are currently not supported. Note, failure to load a script is not a fatal error, so Caja will keep processing your application, and it will probably fail on some issue that's a side effect of the load failure. Subsequent error messages are misleading in this case. The real problem is the load failure.

Inline the external content to get around this.

Caja is pretty strict about color names in CSS rules. Only the 16 standard color names are recognized. Use hexadecimal colors to get around this.

Runtime errors

Runtime errors usually show up as plain messages in the JavaScript console. Sometimes a runtime error will raise an exception that will be reported as an error, but these exceptions are often unrelated to the actual error.

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions