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
// Moved to - https://github.com/foundry-vtt-community/macros/blob/master/misc/folder_permission.js | |
// For previous versions see the history of this gist. |
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
/* | |
The idea is to prevent testing every possible combination (2 to the power of the number of modules) to | |
see which combination of modules is causing issues. | |
TODO: try to find a smaller group using binary search | |
Halfway done: toggle every module to see if it's needed to reproduce the issues. | |
*/ | |
declare var game: any; | |
declare function duplicate<T>(arg: T): T; |