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:
12
react-app/node_modules/core-js/modules/es6.regexp.split.js
generated
vendored
Normal file
12
react-app/node_modules/core-js/modules/es6.regexp.split.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// @@split logic
|
||||
require('./$.fix-re-wks')('split', 2, function(defined, SPLIT, $split){
|
||||
// 21.1.3.17 String.prototype.split(separator, limit)
|
||||
return function split(separator, limit){
|
||||
'use strict';
|
||||
var O = defined(this)
|
||||
, fn = separator == undefined ? undefined : separator[SPLIT];
|
||||
return fn !== undefined
|
||||
? fn.call(separator, O, limit)
|
||||
: $split.call(String(O), separator, limit);
|
||||
};
|
||||
});
|
Reference in New Issue
Block a user