remove logs

These ones are not very informative and take lots of space in the console.
This commit is contained in:
Mert Kahyaoğlu 2016-06-05 13:57:06 +03:00
parent 6eae597a69
commit 7adb0e51b1

View File

@ -1672,9 +1672,7 @@ SimpleMDE.prototype.createToolbar = function(items) {
var nonSeparatorIconsFollow = false; var nonSeparatorIconsFollow = false;
for(var x = (i + 1); x < items.length; x++) { for(var x = (i + 1); x < items.length; x++) {
console.log(x);
if(items[x] !== "|" && (!self.options.hideIcons || self.options.hideIcons.indexOf(items[x].name) == -1)) { if(items[x] !== "|" && (!self.options.hideIcons || self.options.hideIcons.indexOf(items[x].name) == -1)) {
console.log(items[x]);
nonSeparatorIconsFollow = true; nonSeparatorIconsFollow = true;
} }
} }
@ -2002,4 +2000,4 @@ SimpleMDE.prototype.toTextArea = function() {
} }
}; };
module.exports = SimpleMDE; module.exports = SimpleMDE;