Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhsnov committed May 21, 2019
1 parent 26b90b4 commit a4784f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/extensions/default/InAppNotifications/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ define(function (require, exports, module) {
function _checkExtensions(filters) {
//if no property called extensions then it's a universal notification
if (filters.extensions === undefined) {
console.log("undefined");
return true;
}

Expand All @@ -226,12 +225,10 @@ define(function (require, exports, module) {
});

if (!filters.extensions) {
console.log("null");
//if property called extensions exists but has a falsy value
//then number of user extensions must be zero
allExtnsMatched = userExtensionKeys.length === 0;
} else if (filters.extensions.length === 0) {
console.log('[]');
//if property called extensions exists but is an empty array
//then number of user extensions must greater than zero
allExtnsMatched = userExtensionKeys.length > 0;
Expand Down

0 comments on commit a4784f5

Please sign in to comment.