mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
18
ng2-components/ng2-alfresco-documentslist/dist/node_modules/es6-symbol/is-implemented.js
generated
vendored
Normal file
18
ng2-components/ng2-alfresco-documentslist/dist/node_modules/es6-symbol/is-implemented.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function () {
|
||||
var symbol;
|
||||
if (typeof Symbol !== 'function') return false;
|
||||
symbol = Symbol('test symbol');
|
||||
try { String(symbol); } catch (e) { return false; }
|
||||
if (typeof Symbol.iterator === 'symbol') return true;
|
||||
|
||||
// Return 'true' for polyfills
|
||||
if (typeof Symbol.isConcatSpreadable !== 'object') return false;
|
||||
if (typeof Symbol.iterator !== 'object') return false;
|
||||
if (typeof Symbol.toPrimitive !== 'object') return false;
|
||||
if (typeof Symbol.toStringTag !== 'object') return false;
|
||||
if (typeof Symbol.unscopables !== 'object') return false;
|
||||
|
||||
return true;
|
||||
};
|
Reference in New Issue
Block a user