Changeset 6780


Ignore:
Timestamp:
Feb 7, 2018, 5:24:47 PM (19 months ago)
Author:
kbut
Message:

remove useless console.log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/lib/i18n.js

    r3558 r6780  
    4848  try{
    4949    if (self.moduleReady(module)){
    50       console.log(module+ "is ready... translating to...");
    5150      element.innerHTML=self.modules[module].gettext(element.innerHTML);
    52       console.log(element.innerHTML);
    53      
    54      
    5551    }
    5652
     
    5854
    5955  }catch (err){
    60     console.log(err);
     56    console.error(err);
    6157  }
    6258
     
    6662I18n.prototype.gettext=function gettext(module, text) {
    6763        var self=this;
    68 
    69         //console.log(self.modules[module]);
    70   //console.log(self.modules[module].gettext(text));
    71   console.log(text + " in " + module);
    7264  try{
    7365    return self.modules[module].gettext(text);
     
    8072
    8173I18n.prototype.performCallback=function performCallback(callback){
    82   console.log(typeof(callback));
    8374  var self=this;
    8475  self.modulecount--;
    85   console.log("modulecount:"+self.modulecount);
    8676  if (self.modulecount==0) callback();
    8777  return -1;
     
    9989      for (key in modulelist)
    10090          if (modulelist.hasOwnProperty(key)) size++;
    101      console.log(size);
    10291     self.modulecount=size+1;
    10392
    10493     self.loadLocale("", "main", callback);
    10594     for (i in modulelist){
    106          console.log(modulelist[i]);
    10795         var modulepath="modules/"+modulelist[i]+"/src/";
    10896         var modulefile=modulelist[i];
Note: See TracChangeset for help on using the changeset viewer.