1 | /*
|
2 | * Copyright 2014 the original author or authors
|
3 | * @license MIT, see LICENSE.txt for details
|
4 | *
|
5 | * @author Scott Andrews
|
6 | */
|
7 |
|
8 | (function (define) {
|
9 | ;
|
10 |
|
11 | define(function (require) {
|
12 |
|
13 | var rest = require('./client/default'),
|
14 | browser = require('./client/xhr');
|
15 |
|
16 | rest.setPlatformDefaultClient(browser);
|
17 |
|
18 | return rest;
|
19 |
|
20 | });
|
21 |
|
22 | }(
|
23 | typeof define === 'function' && define.amd ? define : function (factory) { module.exports = factory(require); }
|
24 | // Boilerplate for AMD and Node
|
25 | ));
|