diff options
| author | Misko Hevery | 2011-11-04 12:33:01 -0700 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:14 -0800 |
| commit | a87f2fb9e4d65ac5d260e914b5e31aa0e0f47b2c (patch) | |
| tree | 93e69475affd24ef5b16c68e47d1476bc37787a7 /test/BinderSpec.js | |
| parent | c27aba4354c69c4a67fab587a59a8079cc9edc91 (diff) | |
| download | angular.js-a87f2fb9e4d65ac5d260e914b5e31aa0e0f47b2c.tar.bz2 | |
refactor(mock): moved mocks into its own module
Diffstat (limited to 'test/BinderSpec.js')
| -rw-r--r-- | test/BinderSpec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/BinderSpec.js b/test/BinderSpec.js index 01e61b57..691e2db8 100644 --- a/test/BinderSpec.js +++ b/test/BinderSpec.js @@ -1,6 +1,11 @@ 'use strict'; describe('Binder', function() { + + function childNode(element, index) { + return jqLite(element[0].childNodes[index]); + } + beforeEach(function() { this.compileToHtml = function (content) { var html; |
