Global variables inside JS
- Subject: Global variables inside JS
- From: Roger Bolton <email@hidden>
- Date: Mon, 27 Feb 2006 00:46:03 +0000
- Delivered-to: email@hidden
- Delivered-to: email@hidden
someone was asking a while ago about global variable inside
javascript in quartz composer,
I noticed someone had posted on the quartzcompositions forums that
this is possible,
just use the "this" object e.g
this.foo = 2;
creates a "foo" property with the value 2 on the runtime object,
which is kept among executions of the patch
thought this might be of use to people on here...
roger
quartonian.net
_______________________________________________
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
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.