diff options
| author | Misko Hevery | 2011-02-12 10:13:28 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-02-16 01:03:12 -0500 |
| commit | ef4bb28be13e99f96c9ace5936cf26a174a0e5f0 (patch) | |
| tree | 833057505e430cac064214ac3d55c687338da2a9 /test/markupSpec.js | |
| parent | 496e6bf9016d33a7cf2f4730d06a8655f01ca5cb (diff) | |
| download | angular.js-ef4bb28be13e99f96c9ace5936cf26a174a0e5f0.tar.bz2 | |
Change API angular.compile(element)([scope], [element/true])
Diffstat (limited to 'test/markupSpec.js')
| -rw-r--r-- | test/markupSpec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/markupSpec.js b/test/markupSpec.js index 2462f19e..2c933f09 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -5,10 +5,9 @@ describe("markups", function(){ beforeEach(function() { scope = null; element = null; - var compiler = new Compiler(angularTextMarkup, angularAttrMarkup, angularDirective, angularWidget); compile = function(html) { element = jqLite(html); - scope = compiler.compile(element)(element); + scope = angular.compile(element)().scope; }; }); |
