W3C home > Mailing lists > Public > public-speech-api@w3.org > November 2012

Propose rename SpeechRecognitionResult.final to .isFinal

From: Glen Shires <gshires@google.com>
Date: Thu, 29 Nov 2012 07:42:06 -0800
Message-ID: <CAEE5bcgJ7+Gy88vG0xchKXJABdZuymxFZFHbppAO6ah6xNGspQ@mail.gmail.com>
To: "public-speech-api@w3.org" <public-speech-api@w3.org>
SpeechRecognitionResult includes a "readonly attribute boolean final".
[1]  Unfortunately, "final" is a reserved word in JavaScript. Therefore I
propose renaming it to "isFinal" and changing the IDL to:
  "readonly attribute boolean isFinal".

If there's no disagreement, I'll add this to the errata next week.

Glen Shires

[1] http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-final
Received on Thursday, 29 November 2012 15:43:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:29 UTC