git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

api_loader.js (310B)


      1 var AWS = require('./core');
      2 
      3 AWS.apiLoader = function(svc, version) {
      4   if (!AWS.apiLoader.services.hasOwnProperty(svc)) {
      5     throw new Error('InvalidService: Failed to load api for ' + svc);
      6   }
      7   return AWS.apiLoader.services[svc][version];
      8 };
      9 
     10 AWS.apiLoader.services = {};
     11 
     12 module.exports = AWS.apiLoader;