And should this work? (I get Uncaught ReferenceError: "alert" is not
defined in this scope. in both Firefox 20 and chrome 26.0.1410.65 (I built
from trunk after updating about 20 min ago)
<!DOCTYPE html>
<html>
<head>
<title>Jquery Bug</title>
</head>
<body>
<script type="text/javascript"
src="/KonaUI/scripts/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
alert("foo");
});
</script>
<p>This is embeded</p>
</body>
</html>
On Saturday, April 20, 2013 5:06:20 PM UTC-4, [email protected]
wrote:
>
> Ok... so what is SES? And what browsers qualify? (only chrome?)
>
> Also, I get a lot of warnings out of jquery-ui-1.10.2.custom.min.js and
> jquery-1.8.3.min.js about ; insertion, and "Declaration of n masks
> declaration at"
>
> I'm hoping those are tolerable, and expected for a minified file?
>
>
> On Saturday, April 20, 2013 3:00:29 PM UTC-4, [email protected]:
>>
>> Perhaps I've missed it in the docs, but is there a list of things one has
>> to do to their javascript to make it run under caja?
>>
>> For example, I got some of these messages in firebug console...
>>
>> LINT(3) TOP_LEVEL_FUNC_INCOMPATIBLE_WITH_CAJA: <snip long url> - 834+4: Caja
>> makes top-level functions local to a script tag. If you need a global
>> function, use: window[ 'cullProducts' ] = function () {}
>>
>>
>> Is there a caja-compatible javascript style guide (or some standard style
>> guide) that you folks are coding to?
>>
>
--
---
You received this message because you are subscribed to the Google Groups
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.