diff --git a/lib/external/convnet/1.1.0/convnet.js b/lib/external/convnet/1.1.0/convnet.js index 6f102ccc..55205fd1 100644 --- a/lib/external/convnet/1.1.0/convnet.js +++ b/lib/external/convnet/1.1.0/convnet.js @@ -2112,11 +2112,4 @@ var convnetjs = convnetjs || { REVISION: 'ALPHA' }; global.MagicNet = MagicNet; })(convnetjs); -(function(lib) { - "use strict"; - if (typeof module === "undefined" || typeof module.exports === "undefined") { - window.jsfeat = lib; // in ordinary browser attach library to window - } else { - module.exports = lib; // in nodejs - } -})(convnetjs); +this.convnetjs = convnetjs;