From bae0b604cab8410818dbba2a840cd2e741dcce9f Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Wed, 8 May 2013 09:20:03 -0400 Subject: [PATCH] fix(instrumentation): fix issue with checking models of root scopes --- js/inject/debug.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/inject/debug.js b/js/inject/debug.js index c4b12c0..5794f3f 100644 --- a/js/inject/debug.js +++ b/js/inject/debug.js @@ -810,6 +810,7 @@ var inject = function () { } debug.scopes[ret.$id] = ret; + debug.scopes[this.$id] = this; debug.scopeDirty[ret.$id] = true; return ret;