mirror of
https://github.com/philips/supernote-obsidian-plugin.git
synced 2026-07-22 09:50:25 +00:00
Since there is no native code I am just checking all of the dependencies in to simplify life and avoid a hard dependency on npm working on any given day.
6 lines
No EOL
317 B
JavaScript
6 lines
No EOL
317 B
JavaScript
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
if (privateCollection.has(obj)) {
|
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
}
|
|
}
|
|
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports; |