src/stallion.js
function(username, password) {
      var restler_defaults = { baseURL: config.baseUrl };
      var RestlerService = restler.service(default_init, restler_defaults, api);

      return new RestlerService(username, password);
    }
function(username, password) {
      var restler_defaults = { baseURL: config.baseUrl };
      var RestlerService = restler.service(default_init, restler_defaults, api);

      return new RestlerService(username, password);
    }
function ( username , password ) { var restler_defaults = { baseURL : config . baseUrl } ; var RestlerService = restler . service ( default_init , restler_defaults , api ) ; return new RestlerService ( username , password ) ; }
Can't use multilple instances of Reslter services  Because each instance shares the defaults and the only way to set the username & password is to use the defaults each instance will actually be the same  So instead when we create another instance of a Stallion service we'll actually create a seperate instance of a Restler service
Can t use multilple instances of Reslter services Because each instance shares the defaults and the only way to set the username & password is to use the defaults each instance will actually be the same So instead when we create another instance of a Stallion service we ll actually create a seperate instance of a Restler service