nextalys-js-helpers
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ export declare class GlobalHelpers { | ||
static BindGlobalMethodSimple(name: string, func: any, prefix?: string, addGuid?: boolean): string; | ||
static BindGlobalMethod(name: string, methodWrapperObject: any): void; | ||
static BindGlobalMethod(name: string, methodWrapperObject: any): string; | ||
static GetGlobalMethod(name: string): any; | ||
@@ -10,0 +10,0 @@ static GetGlobalVariable<T = any>(name: string): T | null; |
@@ -41,4 +41,6 @@ "use strict"; | ||
} | ||
var methodFullName = this.globalPrefix + 'method_' + name; | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call | ||
this.GetGlobalRef()[this.globalPrefix + 'method_' + name] = (methodWrapperObject[name]).bind(methodWrapperObject); | ||
this.GetGlobalRef()[methodFullName] = (methodWrapperObject[name]).bind(methodWrapperObject); | ||
return methodFullName; | ||
}; | ||
@@ -45,0 +47,0 @@ GlobalHelpers.GetGlobalMethod = function (name) { |
{ | ||
"name": "nextalys-js-helpers", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Nextalys Javascript Helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1238269
0.01%19126
0.01%