Uses the import keyword to reference a file that is contained within the loaded gist.
Created
October 30, 2014 13:28
-
-
Save alfred-landrum/1b32737dfeb1dae0a7f9 to your computer and use it in GitHub Desktop.
importing a module within 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
export const foo = 42; |
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
import "foo.juttle" as foo; | |
emitter -limit 10 -hz 10 | put value = foo.foo | @table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment