1
Fork 0

Remove debug messages

This commit is contained in:
Jake Howard 2015-08-25 14:55:24 +01:00
parent fcb056d385
commit 544c5fd35e
2 changed files with 1 additions and 4 deletions

View file

@ -1,5 +1,4 @@
function change_chat_tabs() { function change_chat_tabs() {
console.log("Event");
inject_image('._d97', 'emoticon'); inject_image('._d97', 'emoticon');
} }

View file

@ -1,5 +1,4 @@
function inject_image(ident, classes) { function inject_image(ident, classes) {
console.log("Injecting Images in to " + ident);
classes = classes || ""; classes = classes || "";
$(ident).each(function() { $(ident).each(function() {
decoder = image_decoder.images; decoder = image_decoder.images;
@ -15,7 +14,6 @@ function inject_image(ident, classes) {
} }
function markdown_injector(ident) { function markdown_injector(ident) {
console.log("Modifying markdown of " + ident);
decoder = image_decoder.images; decoder = image_decoder.images;
for (var i = 0; i < decoder.length; i++) { for (var i = 0; i < decoder.length; i++) {
raw_key = Object.keys(decoder[i]); raw_key = Object.keys(decoder[i]);
@ -27,6 +25,6 @@ function markdown_injector(ident) {
} }
} }
console.log("Injection"); console.log("Hipchat-emoticons-for-all is enabled.");
var image_decoder = %image_decoder% var image_decoder = %image_decoder%