diff options
Diffstat (limited to 'example')
-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); | ||