Uncomment and jshint ignore console statement

This commit is contained in:
Joe Fiorini 2015-03-13 11:44:19 -04:00
parent 0f5beca9ae
commit 7b38bacca0
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 || '');
}