forked from enviPath/enviPy
Current Dev State
This commit is contained in:
19
static/js/ketcher2/node_modules/individual/index.js
generated
vendored
Normal file
19
static/js/ketcher2/node_modules/individual/index.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
/*global window, global*/
|
||||
|
||||
var root = typeof window !== 'undefined' ?
|
||||
window : typeof global !== 'undefined' ?
|
||||
global : {};
|
||||
|
||||
module.exports = Individual;
|
||||
|
||||
function Individual(key, value) {
|
||||
if (key in root) {
|
||||
return root[key];
|
||||
}
|
||||
|
||||
root[key] = value;
|
||||
|
||||
return value;
|
||||
}
|
||||
Reference in New Issue
Block a user