generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: externalized js external functions to mapping folder
- Loading branch information
1 parent
b188429
commit f4b5907
Showing
9 changed files
with
158 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "dnd5e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class SystemFunctions { | ||
constructor(actor, sheetType, sheet) { | ||
this.actor = actor; | ||
this.sheetType = sheetType; | ||
this.sheet = sheet; | ||
console.log(this.actor); | ||
} | ||
|
||
getSystemFunctionsId() { | ||
console.log("getSystemFunctionsId"); | ||
console.log(this.sheetType); | ||
console.log(this.sheet); | ||
console.log(this.actor); | ||
return "pf2e"; | ||
} | ||
// Insert below your custom functions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters