mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
10
react-app/node_modules/core-js/modules/es6.date.to-string.js
generated
vendored
Normal file
10
react-app/node_modules/core-js/modules/es6.date.to-string.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
var DateProto = Date.prototype
|
||||
, INVALID_DATE = 'Invalid Date'
|
||||
, TO_STRING = 'toString'
|
||||
, $toString = DateProto[TO_STRING];
|
||||
if(new Date(NaN) + '' != INVALID_DATE){
|
||||
require('./$.redefine')(DateProto, TO_STRING, function toString(){
|
||||
var value = +this;
|
||||
return value === value ? $toString.call(this) : INVALID_DATE;
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user