diff options
| author | Misko Hevery | 2010-07-20 16:55:32 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-20 16:55:32 -0700 |
| commit | bebfbeac0a3f25b3d0df00ada5c919adef9dd701 (patch) | |
| tree | 9d985f8c357dbcbc6f24a8c348c1336d2c32d99c /test/widgetsSpec.js | |
| parent | 7e96af0fdd9af8c479992363f68578305df0337e (diff) | |
| download | angular.js-bebfbeac0a3f25b3d0df00ada5c919adef9dd701.tar.bz2 | |
fixed xhtml compatibility, fix console in chrome
Diffstat (limited to 'test/widgetsSpec.js')
| -rw-r--r-- | test/widgetsSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 03f31bfe..ad98e482 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -407,7 +407,7 @@ describe("widget", function(){ it("should match sandwich ids", function(){ var scope = {}; - var match = angular.widget['NG:SWITCH'].route.call(scope, '/a/123/b', '/a/:id'); + var match = angular.widget('NG:SWITCH').route.call(scope, '/a/123/b', '/a/:id'); expect(match).toBeFalsy(); }); |
