Skip to content

Commit 9b97fca

Browse files
committed
console.log() removed
1 parent 6a3996f commit 9b97fca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mootools.sharrre.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ var Sharrre = new Class({
368368

369369
loadButtons: function () {
370370
var self = this;
371-
console.log('erstelle Buttons');
372371
this.buttons_el = new Element('div',{'class': 'buttons'}).inject(this.element);
373372
Object.each(self.options.share, function(val, name) {
374373
if(val == true){
@@ -387,11 +386,10 @@ var Sharrre = new Class({
387386
if(this.options.buttons[name].urlCount === true && this.options.buttons[name].url !== ''){
388387
url = self.urlJson[name].replace('{url}', this.options.buttons[name].url);
389388
}
390-
console.log('name : ' + name + ' - url : '+url); //debug
389+
//console.log('name : ' + name + ' - url : '+url); //debug
391390
if(url != '' && self.options.urlCurl !== ''){ //urlCurl = '' if you don't want to used PHP script but used social button
392391
new Request.JSONP({url: url,
393392
onSuccess: function(json){
394-
console.log(json);
395393
if(json.hasOwnProperty('count')){ //GooglePlus, Stumbleupon, Twitter, Pinterest and Digg
396394
var temp = json.count + '';
397395
temp = temp.replace('\u00c2\u00a0', ''); //remove google plus special chars
@@ -414,7 +412,6 @@ var Sharrre = new Class({
414412
},
415413

416414
onError: function() {
417-
console.log('error');
418415
self.options.count[name] = 0;
419416
self.rendererPerso();
420417
}

0 commit comments

Comments
 (0)