Skip to content

Instantly share code, notes, and snippets.

@ailabs-software
Created June 2, 2025 19:35
Show Gist options
  • Save ailabs-software/015ddaaef8aa1aa72264d6c9e019009c to your computer and use it in GitHub Desktop.
Save ailabs-software/015ddaaef8aa1aa72264d6c9e019009c to your computer and use it in GitHub Desktop.
dist/ShopwindowClient_client_assetsout/js_libraries.json
{"jclosure_jsproxybridge":"function() {\n return {\n \"emptyObject\": function () {\n return new Object();\n },\n \"emptyArray\": function () {\n return new Array();\n },\n \"getGlobal\": function () {\n return window;\n },\n \"construct0\": function (constructor) {\n return new constructor();\n },\n \"construct1\": function (constructor, arg1) {\n return new constructor(arg1);\n },\n \"construct2\": function (constructor, arg1, arg2) {\n return new constructor(arg1, arg2);\n },\n \"construct3\": function (constructor, arg1, arg2, arg3) {\n return new constructor(arg1, arg2, arg3);\n },\n \"applyFunction\": function (object, args) {\n return object.apply(null, args);\n },\n \"callMethod\": function (object, name, args) {\n return object[name].apply(object, args);\n },\n \"callMethod0\": function (object, name) {\n return object[name]();\n },\n \"callMethod1\": function (object, name, arg1) {\n return object[name](arg1);\n },\n \"callMethod2\": function (object, name, arg1, arg2) {\n return object[name](arg1, arg2);\n },\n \"getProperty\": function (object, name) {\n return object[name];\n },\n \"getIndex\": function (object, index) {\n return object[index];\n },\n \"setIndex\": function (object, index, value) {\n object[index] = value;\n },\n \"hasProperty\": function (object, name) {\n return name in object;\n },\n \"setProperty\": function (object, name, value) {\n object[name] = value;\n },\n \"equals\": function (arg1, arg2) {\n return arg1 == arg2;\n },\n \"isJSArray\": function (object) {\n return Array.isArray(object);\n },\n \"isJSObject\": function (object) {\n return typeof object === 'object';\n }\n };\n}","jclosure_local_storage":"function() {\n return self.localStorage;\n}","jclosure_session_storage":"function() {\n return self.sessionStorage;\n}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment