diff options
| author | Brian Ford | 2013-01-23 00:01:13 -0500 |
|---|---|---|
| committer | Brian Ford | 2013-01-30 10:42:56 -0500 |
| commit | 649b892205615a144dafff9984c0e6ab10ed341d (patch) | |
| tree | e497a02b8714e0a4959d5d366a4a3104a9470e30 /src/ng/compile.js | |
| parent | e0295cfec4e54246f64e9daecb764454e6e6b071 (diff) | |
| download | angular.js-649b892205615a144dafff9984c0e6ab10ed341d.tar.bz2 | |
feat(Scope): expose transcluded and isolate scope info for batarang
test($compile): add test for exposing transclude and isolate scope info to batarang
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js index 84d53e6d..13f8ae7e 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -420,6 +420,7 @@ function $CompileProvider($provide) { (function(transcludeFn) { return function(cloneFn) { var transcludeScope = scope.$new(); + transcludeScope.$$transcluded = true; return transcludeFn(transcludeScope, cloneFn). bind('$destroy', bind(transcludeScope, transcludeScope.$destroy)); @@ -725,6 +726,8 @@ function $CompileProvider($provide) { lastValue, parentGet, parentSet; + scope.$$isolateBindings[scopeName] = mode + attrName; + switch (mode) { case '@': { |
