diff options
| author | Misko Hevery | 2011-11-03 21:14:04 -0700 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:14 -0800 |
| commit | c27aba4354c69c4a67fab587a59a8079cc9edc91 (patch) | |
| tree | 7ea9f170c197dddcfb8014fc85437523090d18a4 /test/matchers.js | |
| parent | dd9151e522220b438074e55c72f47ed2a8da9933 (diff) | |
| download | angular.js-c27aba4354c69c4a67fab587a59a8079cc9edc91.tar.bz2 | |
refactor(api): remove type augmentation
BREAK:
- remove angular.[Object/Array/String/Function]
- in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
Diffstat (limited to 'test/matchers.js')
| -rw-r--r-- | test/matchers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/matchers.js b/test/matchers.js index fe5792a9..9923bd7e 100644 --- a/test/matchers.js +++ b/test/matchers.js @@ -83,7 +83,7 @@ beforeEach(function() { toBeOneOf: function() { - return angular.Array.indexOf(arguments, this.actual) !== -1; + return indexOf(arguments, this.actual) !== -1; } }); }); |
