Skip to content

Commit

Permalink
Removed console logging
Browse files Browse the repository at this point in the history
Removed debug console logging.
  • Loading branch information
m-e-conroy committed Oct 15, 2014
1 parent f240228 commit fd3f10b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-dialog-service",
"description": "A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal",
"version": "5.2.3",
"version": "5.2.4",
"keywords": ["angular","dialog","modal","service"],
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/dialogs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/dialogs-controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ var ctrlrs; // will be dialogs.controllers module
// determine if Angular-Translate is available, if not use the substitute
try{
angular.module('pascalprecht.translate'); // throws error if module not loaded
console.log('Dialogs (Angular-Translate): OK');
// console.log('Dialogs (Angular-Translate): OK');

// dialogs.controllers: module declaration
ctrlrs = angular.module('dialogs.controllers',['ui.bootstrap.modal','pascalprecht.translate']);
}catch(err){
console.log('Dialogs: (Angular-Translate): ' + err.message);
console.log('Dialogs: Attempting to use translate.sub module.');
// console.log('Dialogs: (Angular-Translate): ' + err.message);
// console.log('Dialogs: Attempting to use translate.sub module.');

// dialogs.controllers: module declaration
ctrlrs = angular.module('dialogs.controllers',['ui.bootstrap.modal','translate.sub']);
Expand Down
6 changes: 3 additions & 3 deletions src/dialogs-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ angular.module('dialogs.main',['dialogs.services','ngSanitize']) // requires ang
try{
angular.module('pascalprecht.translate');
}catch(err){
console.log('Dialogs: Creating default translations for use without Angular-Translate.');
// console.log('Dialogs: Creating default translations for use without Angular-Translate.');

// This will set default modal buttons, header and message text
$translateProvider.translations('en-US',{
Expand Down Expand Up @@ -54,12 +54,12 @@ angular.module('dialogs.main',['dialogs.services','ngSanitize']) // requires ang
_matches = _sheet.href.match(/font\-*awesome/);

if(!_sheet.disabled && angular.isArray(_matches)){
console.log('Dialogs: Using Font-Awesome Icons');
// console.log('Dialogs: Using Font-Awesome Icons');
dialogsProvider.useFontAwesome();
}
});
}catch(err){
console.log('Error Message: ' + err);
// console.log('Error Message: ' + err);
}
}]) // end config

Expand Down
Loading

0 comments on commit fd3f10b

Please sign in to comment.