Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tetris and javascript



One question about javascript, is that QC seems to kill and restart a javascript patch when its input changes. I think this is what leaves my js code in a bad state, and then an operation on a null value crashes QC. Is this how it works and designed? ie. should I submit a feature request for a change? -- I'm just trying to figure out what is happening first before bugreporting.

There are no global variables in JavaScript in QC, so yes it's as if a brand new script was executed each time the JavaScript patch is executed.


Using a null value in operations is permitted (e.g. "1 + null"), but attempting to call it will generate an error (e.g. foo = null()). In any case, it should not crash.

If you report those bugs, don't forget to attach the crash logs of Quartz Composer located in ~/Libary/Logs/Crash Reporter/

________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Tetris and javascript (From: Will Thimbleby <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.