jspm_packages/npm/babel-core@5.8.38/lib/api/register/node.js
function hookExtensions(_exts) {
  _lodashCollectionEach2["default"](oldHandlers, function (old, ext) {
    if (old === undefined) {
      delete require.extensions[ext];
    } else {
      require.extensions[ext] = old;
    }
  });

  oldHandlers = {};

  _lodashCollectionEach2["default"](_exts, function (ext) {
    oldHandlers[ext] = require.extensions[ext];
    registerExtension(ext);
  });
}
function hookExtensions(_exts) {
  _lodashCollectionEach2["default"](oldHandlers, function (old, ext) {
    if (old === undefined) {
      delete require.extensions[ext];
    } else {
      require.extensions[ext] = old;
    }
  });

  oldHandlers = {};

  _lodashCollectionEach2["default"](_exts, function (ext) {
    oldHandlers[ext] = require.extensions[ext];
    registerExtension(ext);
  });
}
function hookExtensions ( _exts ) { _lodashCollectionEach2 [ "default" ] ( oldHandlers , function ( old , ext ) { if ( old === undefined ) { delete require . extensions [ ext ] ; } else { require . extensions [ ext ] = old ; } } ) ; oldHandlers = { } ; _lodashCollectionEach2 [ "default" ] ( _exts , function ( ext ) { oldHandlers [ ext ] = require . extensions [ ext ] ; registerExtension ( ext ) ; } ) ; }
Register loader for given extensions.
Register loader for given extensions .