Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a014dcf1ab | |||
44bee7bf6f |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartenv",
|
"name": "@pushrocks/smartenv",
|
||||||
"version": "4.0.15",
|
"version": "4.0.16",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartenv",
|
"name": "@pushrocks/smartenv",
|
||||||
"version": "4.0.15",
|
"version": "4.0.16",
|
||||||
"description": "store things about your environment and let them travel across modules",
|
"description": "store things about your environment and let them travel across modules",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
|
@ -50,7 +50,7 @@ export class Smartenv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.loadedScripts.includes(urlArg)) {
|
if (this.loadedScripts.includes(urlArg)) {
|
||||||
return;
|
return getFunctionArg();
|
||||||
} else {
|
} else {
|
||||||
this.loadedScripts.push(urlArg);
|
this.loadedScripts.push(urlArg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user