diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-28 00:38:50 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-28 00:40:43 +0200 |
commit | 7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 (patch) | |
tree | 6de9a1aebd150a23b7f8c273ec657a5d0a18fe3e /node_modules/core-js/fn/date | |
parent | 963b7a41feb29cc4be090a2446bdfe0c1f1bcd81 (diff) | |
download | wallet-core-7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027.tar.xz |
add linting (and some initial fixes)
Diffstat (limited to 'node_modules/core-js/fn/date')
-rw-r--r-- | node_modules/core-js/fn/date/index.js | 6 | ||||
-rw-r--r-- | node_modules/core-js/fn/date/now.js | 2 | ||||
-rw-r--r-- | node_modules/core-js/fn/date/to-iso-string.js | 3 | ||||
-rw-r--r-- | node_modules/core-js/fn/date/to-json.js | 2 | ||||
-rw-r--r-- | node_modules/core-js/fn/date/to-primitive.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/date/to-string.js | 5 |
6 files changed, 23 insertions, 0 deletions
diff --git a/node_modules/core-js/fn/date/index.js b/node_modules/core-js/fn/date/index.js new file mode 100644 index 000000000..bd9ce0e2d --- /dev/null +++ b/node_modules/core-js/fn/date/index.js @@ -0,0 +1,6 @@ +require('../../modules/es6.date.now'); +require('../../modules/es6.date.to-json'); +require('../../modules/es6.date.to-iso-string'); +require('../../modules/es6.date.to-string'); +require('../../modules/es6.date.to-primitive'); +module.exports = require('../../modules/_core').Date;
\ No newline at end of file diff --git a/node_modules/core-js/fn/date/now.js b/node_modules/core-js/fn/date/now.js new file mode 100644 index 000000000..c70d37ae3 --- /dev/null +++ b/node_modules/core-js/fn/date/now.js @@ -0,0 +1,2 @@ +require('../../modules/es6.date.now'); +module.exports = require('../../modules/_core').Date.now;
\ No newline at end of file diff --git a/node_modules/core-js/fn/date/to-iso-string.js b/node_modules/core-js/fn/date/to-iso-string.js new file mode 100644 index 000000000..be4ac2187 --- /dev/null +++ b/node_modules/core-js/fn/date/to-iso-string.js @@ -0,0 +1,3 @@ +require('../../modules/es6.date.to-json'); +require('../../modules/es6.date.to-iso-string'); +module.exports = require('../../modules/_core').Date.toISOString;
\ No newline at end of file diff --git a/node_modules/core-js/fn/date/to-json.js b/node_modules/core-js/fn/date/to-json.js new file mode 100644 index 000000000..9dc8cc902 --- /dev/null +++ b/node_modules/core-js/fn/date/to-json.js @@ -0,0 +1,2 @@ +require('../../modules/es6.date.to-json'); +module.exports = require('../../modules/_core').Date.toJSON;
\ No newline at end of file diff --git a/node_modules/core-js/fn/date/to-primitive.js b/node_modules/core-js/fn/date/to-primitive.js new file mode 100644 index 000000000..4d7471e26 --- /dev/null +++ b/node_modules/core-js/fn/date/to-primitive.js @@ -0,0 +1,5 @@ +require('../../modules/es6.date.to-primitive'); +var toPrimitive = require('../../modules/_date-to-primitive'); +module.exports = function(it, hint){ + return toPrimitive.call(it, hint); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/date/to-string.js b/node_modules/core-js/fn/date/to-string.js new file mode 100644 index 000000000..c39d55227 --- /dev/null +++ b/node_modules/core-js/fn/date/to-string.js @@ -0,0 +1,5 @@ +require('../../modules/es6.date.to-string') +var $toString = Date.prototype.toString; +module.exports = function toString(it){ + return $toString.call(it); +};
\ No newline at end of file |