removed console logs, and requiring markdown 1.0.0 plugin

v1.18.x
Julian Lam 10 years ago
parent ceb18fe73d
commit 58094d2b3b

@ -40,7 +40,7 @@
"nconf": "~0.7.1",
"nodebb-plugin-dbsearch": "^0.1.0",
"nodebb-plugin-emoji-extended": "^0.4.1-4",
"nodebb-plugin-markdown": "^0.8.0",
"nodebb-plugin-markdown": "^1.0.0",
"nodebb-plugin-mentions": "^0.9.0",
"nodebb-plugin-soundpack-default": "~0.1.1",
"nodebb-plugin-spam-be-gone": "^0.4.0",

@ -241,7 +241,6 @@ define('composer', [
handle: composer.posts[post_uuid] ? composer.posts[post_uuid].handle || '' : undefined,
formatting: composer.formatting
};
console.log(composer.formatting);
parseAndTranslate(template, data, function(composerTemplate) {
if ($('#cmp-uuid-' + post_uuid).length) {

@ -46,9 +46,6 @@ define('composer/formatting', ['composer/controls', 'composer/preview'], functio
postContainer.on('click', '.formatting-bar span', function () {
var format = $(this).attr('data-format'),
textarea = $(this).parents('.composer').find('textarea')[0];
console.log('handling', format);
console.log(formattingDispatchTable);
if(formattingDispatchTable.hasOwnProperty(format)){
formattingDispatchTable[format](textarea, textarea.selectionStart, textarea.selectionEnd);

Loading…
Cancel
Save