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:
8
react-app/node_modules/core-js/modules/$.string-context.js
generated
vendored
Normal file
8
react-app/node_modules/core-js/modules/$.string-context.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// helper for String#{startsWith, endsWith, includes}
|
||||
var isRegExp = require('./$.is-regexp')
|
||||
, defined = require('./$.defined');
|
||||
|
||||
module.exports = function(that, searchString, NAME){
|
||||
if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
|
||||
return String(defined(that));
|
||||
};
|
Reference in New Issue
Block a user