Presuming QC uses JavaScriptCore and the JSEvaluateScript method, it would be 
fairly trivial to have a global shared object as a property of JSObjectRef 
thisObject?

...Anyone at Apple willing to bite?


On 13 Dec 2010, at 07:50, Alastair Leith wrote:

> The one thing that might be an issue is the Webkit origin of the QC 
> Javascript patch. I don't know if it potentially shares a global context 
> across multiple scripts / pages itself. Anybody?
> 
> 
> On 08/12/2010, at 9:51 PM, Adrian Ward wrote:
> 
>> 
>> Hear hear.
>> 
>> rdar://8743194
>> http://openradar.appspot.com/radar?id=953401
>> 
>> 
>> 
>> On 8 Dec 2010, at 06:14, Alastair Leith wrote:
>> 
>>> Would it be possible to implement composition/application wide globals for 
>>> the Javascript patches in a future QC revision?
>>> 
>>> I know graph evaluation and free global variables could create a headache 
>>> if used unwisely, but it would be kind of neat at times to have a 
>>> composition-wide layer to read/write get/set to. Couldn't it just operate 
>>> on an ad-hoc basis read to whenever (whatever JS patch is being evaluated) 
>>> write whenever (same).

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

This email sent to arch...@mail-archive.com

Reply via email to