forked from cujojs/poly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathes5.js
More file actions
30 lines (27 loc) · 671 Bytes
/
es5.js
File metadata and controls
30 lines (27 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/** @license MIT License (c) copyright 2013 original authors */
/**
* ES5 polyfills / shims for AMD loaders
*
* @author Brian Cavalier
* @author John Hann
*/
(function (define) {
define(function (require) {
var object = require('./object');
var string = require('./string');
var date = require('./date');
require('./array');
require('./function');
require('./json');
require('./xhr');
return {
failIfShimmed: object.failIfShimmed,
setWhitespaceChars: string.setWhitespaceChars,
setIsoCompatTest: date.setIsoCompatTest
};
});
}(
typeof define == 'function' && define.amd
? define
: function (factory) { module.exports = factory(require); }
));