aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/src
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-12-27 10:17:21 -0500
committereric thul <thul.eric@gmail.com>2015-12-27 10:17:21 -0500
commitc9ffb38360a93d51f047a184ae13462cb90edb71 (patch)
tree2c559e641e671cfc34c64dc33f94c872a7cea86d /example/src
parentd78112147d02e263a5b000cb0b3b9ff84aa5c89a (diff)
downloadpurs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.tar.gz
purs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.tar.zst
purs-loader-c9ffb38360a93d51f047a184ae13462cb90edb71.zip
More example files
Diffstat (limited to 'example/src')
-rw-r--r--example/src/Bar.purs3
-rw-r--r--example/src/bar.js5
-rw-r--r--example/src/entry.js4
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 @@
1module Bar where
2
3test = "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 @@
1var x = 'a';
2
3var abcde = require('./Bar.purs');
4
5module.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
7var baz = require('./Foo/Baz.purs'); 7var baz = require('./Foo/Baz.purs');
8 8
9console.log(Prelude, test, foo, baz); 9var bar = require('./bar');
10
11console.log(Prelude, test, foo, baz, bar);