You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by Mahdi Jaberzadeh Ansari <Ma...@cimt-ag.de.INVALID> on 2021/05/09 16:57:27 UTC

Annoying console.log in odatajs

Hi,

In line 8096 of the minified file, there is a console.log that prints loaded modules.

var require = function(path) {
    var name = path.substring(path.lastIndexOf('/')+1,path.length-3);
    if (modules[name]) { return modules[name].exports; }

    modules[name] = { exports : {}};
    console.log(name);
    if (name === 'sou') {
      var i = 0;
    }
    datas[name].call(this,modules[name].exports,modules[name],require);
    return modules[name].exports;
  };

window.odatajs = {};
init.call(this,window.odatajs,window.odatajs,require);

Please remove it in minified version, or provide a way to disable it.

[cid:cimt-logo1_554ab3b5-1ff9-4d76-9b97-2143131f6595.jpg]        Mahdi Jaberzadeh Ansari
cimt services ag
Oskar-Jäger-Straße 170
50825 Köln
www.cimt-ag.de<https://www.cimt-ag.de>

t.    +49 221 / 367 986 -0
f.    +49 221 367 986 -22
m.  +49 1515 1028500
e.   Mahdi.Ansari@cimt-ag.de <ma...@cimt-ag.de>



  Sitz der Gesellschaft: Hamburg, Amtsgericht Hamburg, HRB 83897
  Vorstand: Arnt Zimmermann
  Vorsitzender des  Aufsichtsrats: Dr. Thorsten Kuhlmann


 Hinweise zum Datenschutz<https://www.cimt-ag.de/datenschutz/>

<https://www.cimt-ag.de/events/webinar-sap-s-4hana-transformation-by-cimt/>