Remove debug messages
This commit is contained in:
parent
fcb056d385
commit
544c5fd35e
2 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
function change_chat_tabs() {
|
function change_chat_tabs() {
|
||||||
console.log("Event");
|
|
||||||
inject_image('._d97', 'emoticon');
|
inject_image('._d97', 'emoticon');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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%
|
Reference in a new issue