UNPKG

604 BJavaScriptView Raw
1/*
2 * Copyright 2012-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 'use strict';
10
11 define(function (require) {
12
13 if (console) {
14 (console.warn || console.log).call(console, 'rest.js: The main module has moved, please switch your configuration to use \'rest/browser\' as the main module for browser applications.');
15 }
16
17 return require('./browser');
18
19 });
20
21}(
22 typeof define === 'function' && define.amd ? define : function (factory) { module.exports = factory(require); }
23 // Boilerplate for AMD and Node
24));