Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9099a00

Browse files
thorn0vojtajina
authored andcommitted
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`.
1 parent b7c81bb commit 9099a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/q.js

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

0 commit comments

Comments
 (0)