chore: remove ENUM_INDEX from facade

The ENUM_INDEX utility was added to return the index of an enum
consistently between Dart and TypeScript, so that the index
could be used to look up the name of the enum. Since dart is no
longer supported by Http, and since no other part of the framework
is using this function, it has been removed.

Closes #3843
This commit is contained in:
Richard Sentino
2015-08-27 13:51:32 +12:00
committed by Jeff Cross
parent 51285666d8
commit 256b2dc9b7
4 changed files with 3 additions and 9 deletions

View File

@ -13,8 +13,6 @@ class Math {
static double random() => _random.nextDouble();
}
int ENUM_INDEX(value) => value.index;
class CONST {
const CONST();
}