From 7b38bacca0acc6b08b2aa9446546f5f36aeb40b9 Mon Sep 17 00:00:00 2001 From: Joe Fiorini Date: Fri, 13 Mar 2015 11:44:19 -0400 Subject: [PATCH] Uncomment and jshint ignore console statement --- Makefile | 2 +- awx/ui/static/js/debug.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d84e6fd35..90b68ebe9d 100644 --- a/Makefile +++ b/Makefile @@ -278,7 +278,7 @@ package.json: packaging/grunt/package.template sed -e 's#%NAME%#$(NAME)#;s#%VERSION%#$(VERSION)#;s#%GIT_REMOTE_URL%#$(GIT_REMOTE_URL)#;' $< > $@ sync_ui: node_modules Brocfile.js - $(NODE) tools/ui/timepiece.js awx/ui/dist + $(NODE) tools/ui/timepiece.js awx/ui/dist -- --debug # Update local npm install node_modules: package.json diff --git a/awx/ui/static/js/debug.js b/awx/ui/static/js/debug.js index 14dd9cbfad..66333d35b9 100644 --- a/awx/ui/static/js/debug.js +++ b/awx/ui/static/js/debug.js @@ -30,7 +30,9 @@ export function __deferLoadIfEnabled() { var deferPattern = /aw\.suspend=true/; if (deferPattern.test(window.location.search) || deferPattern.test(window.location.hash)) { - // console.log('Deferred load due to "aw.suspend=true" in URL. Please execute `angular.resumeBootstrap()` to continue.'); + /* jshint ignore:start */ + console.info('Deferred load due to "aw.suspend=true" in URL. Please execute `angular.resumeBootstrap()` to continue.'); + /* jshint ignore:end */ window.name = 'NG_DEFER_BOOTSTRAP!' + (window.name || ''); }