]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
More example files
authoreric thul <thul.eric@gmail.com>
Sun, 27 Dec 2015 15:17:21 +0000 (10:17 -0500)
committereric thul <thul.eric@gmail.com>
Sun, 27 Dec 2015 15:17:21 +0000 (10:17 -0500)
example/src/Bar.purs [new file with mode: 0644]
example/src/bar.js [new file with mode: 0644]
example/src/entry.js

diff --git a/example/src/Bar.purs b/example/src/Bar.purs
new file mode 100644 (file)
index 0000000..a37171f
--- /dev/null
@@ -0,0 +1,3 @@
+module Bar where
+
+test = "b"
diff --git a/example/src/bar.js b/example/src/bar.js
new file mode 100644 (file)
index 0000000..8c3bb91
--- /dev/null
@@ -0,0 +1,5 @@
+var x = 'a';
+
+var abcde = require('./Bar.purs');
+
+module.exports = abcde;
index be0a475bef384afd4e4e481bec88ccc885a37c80..57808c292000994c3fcfdd264485fbcc91fca49a 100644 (file)
@@ -6,4 +6,6 @@ var foo = require('./Foo.purs');
 
 var baz = require('./Foo/Baz.purs');
 
-console.log(Prelude, test, foo, baz);
+var bar = require('./bar');
+
+console.log(Prelude, test, foo, baz, bar);