docs($q): add mention of Antroid 2.x browser

The Android 2.x browser is not ES5-compatible in that it does not allow
use of reserved words as property names. This docs fix adds Android to the
note to the `$q` docs which already make it known that string property
notation should be used when using the `finally` method on `$q`.
This commit is contained in:
thorn0
2014-02-18 11:52:13 +02:00
committed by Tobias Bosch
parent e48c28fe92
commit 8fd47a1cd5

View File

@@ -112,7 +112,7 @@
*
* Because `finally` is a reserved word in JavaScript and reserved keywords are not supported as
* property names by ES3, you'll need to invoke the method like `promise['finally'](callback)` to
* make your code IE8 compatible.
* make your code IE8 and Android 2.x compatible.
*
* # Chaining promises
*