Closed rwmtse closed 12 years ago
The define read-only property code should be refactored into a common util method so that all API uses the same way to define read-only properties.
@kwallis - this does not feel like a high priority bug, am I missing anything? properties still seem available, if someone changes it well too bad, I think this can be downgraded.
I'll admit I was unsure of the full scope of this, though the description indicated that we weren't sure everything was working "correctly".
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
From: Nukul Bhasin [reply@reply.github.com] Sent: Monday, April 16, 2012 1:53 PM To: Ken Wallis Subject: Re: [BB10-Webworks-API] All APIs need to be revisited to make sure constants and read-only fields are implemented correctly (#13)
@kwallis - this does not feel like a high priority bug, am I missing anything? properties still seem available, if someone changes it well too bad, I think this can be downgraded.
Reply to this email directly or view it on GitHub: https://github.com/blackberry-webworks/BB10-Webworks-API/issues/13#issuecomment-5158239
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Defect fixed by blackberry-webworks/BB10-WebWorks-Framework#12
Fields defined using defineGetter are not read-only under the BB10 WebWorks architecture.
Read-only field must be defined using the following way:
Refer to blackberry.app API.