diff options
author | eric thul <thul.eric@gmail.com> | 2015-12-27 10:17:21 -0500 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2015-12-27 10:17:21 -0500 |
commit | c9ffb38360a93d51f047a184ae13462cb90edb71 (patch) | |
tree | 2c559e641e671cfc34c64dc33f94c872a7cea86d | |
parent | d78112147d02e263a5b000cb0b3b9ff84aa5c89a (diff) | |
download | purs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.tar.gz purs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.tar.zst purs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.zip |
More example files
-rw-r--r-- | example/src/Bar.purs | 3 | ||||
-rw-r--r-- | example/src/bar.js | 5 | ||||
-rw-r--r-- | example/src/entry.js | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/example/src/Bar.purs b/example/src/Bar.purs new file mode 100644 index 0000000..a37171f --- /dev/null +++ b/example/src/Bar.purs | |||
@@ -0,0 +1,3 @@ | |||
1 | module Bar where | ||
2 | |||
3 | test = "b" | ||
diff --git a/example/src/bar.js b/example/src/bar.js new file mode 100644 index 0000000..8c3bb91 --- /dev/null +++ b/example/src/bar.js | |||
@@ -0,0 +1,5 @@ | |||
1 | var x = 'a'; | ||
2 | |||
3 | var abcde = require('./Bar.purs'); | ||
4 | |||
5 | module.exports = abcde; | ||
diff --git a/example/src/entry.js b/example/src/entry.js index be0a475..57808c2 100644 --- a/example/src/entry.js +++ b/example/src/entry.js | |||
@@ -6,4 +6,6 @@ var foo = require('./Foo.purs'); | |||
6 | 6 | ||
7 | var baz = require('./Foo/Baz.purs'); | 7 | var baz = require('./Foo/Baz.purs'); |
8 | 8 | ||
9 | console.log(Prelude, test, foo, baz); | 9 | var bar = require('./bar'); |
10 | |||
11 | console.log(Prelude, test, foo, baz, bar); | ||