topical media & game development

talk show tell print

mobile-application-10-DerbyApp-build-android-bin-assets-Resources-network-derbyservice.js / js



  function derbyservice(){
          var baseServiceUrl = "http://derbynames.gravityworksdesign.com/DerbyNamesService.svc/";
          
          this.getAllNames = function (successFunction)
          {
                  var serviceString = baseServiceUrl + "DerbyNames";
          odata.getData(serviceString, successFunction);
          }
  
          
          this.getRoster = function (successFunction, leagueName)
          {
                  var serviceString = baseServiceUrl + "DerbyNames?filter=Leauge eq '" + leagueName + "'";
          odata.getData(serviceString, successFunction);
          }
  }
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.