mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Fixed minification error in $log decorator
This commit is contained in:
@@ -393,8 +393,8 @@ angular.module('Tower', [
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
.config(function($provide) {
|
.config(['$provide', function($provide) {
|
||||||
$provide.decorator('$log', function($delegate) {
|
$provide.decorator('$log', ['$delegate', function($delegate) {
|
||||||
var _debug = $delegate.debug;
|
var _debug = $delegate.debug;
|
||||||
$delegate.debug = function(msg) {
|
$delegate.debug = function(msg) {
|
||||||
// only show debug messages when debug_mode set to true in config
|
// only show debug messages when debug_mode set to true in config
|
||||||
@@ -403,8 +403,8 @@ angular.module('Tower', [
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
return $delegate;
|
return $delegate;
|
||||||
});
|
}]);
|
||||||
})
|
}])
|
||||||
|
|
||||||
.run(['$compile', '$cookieStore', '$rootScope', '$log', 'CheckLicense', '$location', 'Authorization', 'LoadBasePaths', 'ViewLicense',
|
.run(['$compile', '$cookieStore', '$rootScope', '$log', 'CheckLicense', '$location', 'Authorization', 'LoadBasePaths', 'ViewLicense',
|
||||||
'Timer', 'ClearScope', 'HideStream', 'Socket',
|
'Timer', 'ClearScope', 'HideStream', 'Socket',
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ var $AnsibleConfig = {
|
|||||||
|
|
||||||
tooltip_delay: {show: 500, hide: 100}, // Default number of milliseconds to delay displaying/hiding tooltips
|
tooltip_delay: {show: 500, hide: 100}, // Default number of milliseconds to delay displaying/hiding tooltips
|
||||||
|
|
||||||
debug_mode: true, // Enable console logging messages
|
debug_mode: false, // Enable console logging messages
|
||||||
|
|
||||||
password_strength: 45, // User password strength. Integer between 0 and 100, 100 being impossibly strong.
|
password_strength: 45, // User password strength. Integer between 0 and 100, 100 being impossibly strong.
|
||||||
// This value controls progress bar colors:
|
// This value controls progress bar colors:
|
||||||
|
|||||||
Reference in New Issue
Block a user