• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Javascript: choices / A typo in the documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript: choices / A typo in the documentation


  • Subject: Javascript: choices / A typo in the documentation
  • From: Iceberg-Dev <email@hidden>
  • Date: Sun, 12 Oct 2008 13:19:38 +0200

According to page 11 of the "Installer Javascript Reference" documentation, to access a choice named choice0, you need to use:

choices.['choice0']

This is incorrect, you need to use:

choices['choice0']

The following code also works:

choices.choice0

This is what Installer.app on Mac OS X 10.4.11 says:

/* OK*/

choices.choice0.tooltip="Le petit pont de bois, le petit pont de bois"

/* OK*/

choices['choice0'].tooltip="Le petit pont de bois, le petit pont de bois"

/* Not OK */

choices.['choice0'].tooltip="Le petit pont de bois, le petit pont de bois"; <---------------- *** JavaScript Error ***


(Bug ID# 6287095)


_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Javascript: What's supposed to be the best way to check a Mac OS X distribution is Mac OS X Server?
  • Next by Date: PackageMaker Permissions Inconsistency
  • Previous by thread: Javascript: What's supposed to be the best way to check a Mac OS X distribution is Mac OS X Server?
  • Next by thread: PackageMaker Permissions Inconsistency
  • Index(es):
    • Date
    • Thread