Skip to content

Commit 2c5e2de

Browse files
committed
add support for logger
1 parent 8bbf930 commit 2c5e2de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

unbxdSearch.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,11 @@ var unbxdSearchInit = function(jQuery, Handlebars){
18821882
}
18831883
return t;
18841884
}
1885+
,log : function(str){
1886+
if(this.readCookie("debug") === '1'){
1887+
console.log("Unbxd : " + str);
1888+
}
1889+
}
18851890
});
18861891
};
18871892

0 commit comments

Comments
 (0)