From 863376ad45573fa2c53094a940cca681641c8b11 Mon Sep 17 00:00:00 2001 From: Joe Fiorini Date: Thu, 19 Mar 2015 09:08:08 -0400 Subject: [PATCH] Fix jshint error --- awx/ui/static/js/ng-console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/ng-console.js b/awx/ui/static/js/ng-console.js index 8fef3afff4..1de0b9d89a 100644 --- a/awx/ui/static/js/ng-console.js +++ b/awx/ui/static/js/ng-console.js @@ -26,7 +26,7 @@ window.getService = function getService(serviceName) { Object.defineProperty(window, '$scope', { get: function () { - var elem = angular.element(__commandLineAPI.$0); + var elem = angular.element(window.__commandLineAPI.$0); return elem.isolateScope() || elem.scope(); }, });