Created
July 16, 2019 22:42
-
-
Save naosim/4765fee1cf9a7bc32987952bc667a4bb to your computer and use it in GitHub Desktop.
【GAS】複数メソッドをロードする
This file contains hidden or 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
/** | |
* 複数メソッドをロードする | |
* 依存: | |
* - retryFetch https://gist.github.com/naosim/8fc6033b6f92e426eddc0424e7f7aa71 | |
*/ | |
function loadLibForMethods(methodNames, url) { | |
eval(retryFetch(url)) | |
var result = {}; | |
methodNames.forEach(function(name) { | |
result[name] = eval(name); | |
}) | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment