diff options
author | eric thul <thul.eric@gmail.com> | 2015-07-06 23:49:47 -0400 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2015-07-06 23:55:06 -0400 |
commit | 0e1221d7b15e578d5e9146b01e11a24007d4ba9b (patch) | |
tree | aa70df70f6c36b7a85783c28d7eb256854b4232c /src/LoaderUtil.purs | |
parent | bc4de0853bd1cbf63842b3b66bb30494c9ea778a (diff) | |
download | purs-loader-0e1221d7b15e578d5e9146b01e11a24007d4ba9b.tar.gz purs-loader-0e1221d7b15e578d5e9146b01e11a24007d4ba9b.tar.zst purs-loader-0e1221d7b15e578d5e9146b01e11a24007d4ba9b.zip |
Generate .psci file
Resolves #11
Diffstat (limited to 'src/LoaderUtil.purs')
-rw-r--r-- | src/LoaderUtil.purs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/LoaderUtil.purs b/src/LoaderUtil.purs index f22be44..86be124 100644 --- a/src/LoaderUtil.purs +++ b/src/LoaderUtil.purs | |||
@@ -1,18 +1,11 @@ | |||
1 | module PursLoader.LoaderUtil | 1 | module PursLoader.LoaderUtil |
2 | ( getRemainingRequest | 2 | ( parseQuery |
3 | , parseQuery | ||
4 | ) where | 3 | ) where |
5 | 4 | ||
6 | import Data.Foreign (Foreign()) | 5 | import Data.Foreign (Foreign()) |
7 | 6 | ||
8 | import PursLoader.LoaderRef (LoaderRef()) | 7 | import PursLoader.LoaderRef (LoaderRef()) |
9 | 8 | ||
10 | foreign import getRemainingRequest """ | ||
11 | function getRemainingRequest(ref){ | ||
12 | var loaderUtils = require('loader-utils'); | ||
13 | return loaderUtils.getRemainingRequest(ref); | ||
14 | }""" :: LoaderRef -> String | ||
15 | |||
16 | foreign import parseQuery """ | 9 | foreign import parseQuery """ |
17 | function parseQuery(query){ | 10 | function parseQuery(query){ |
18 | var loaderUtils = require('loader-utils'); | 11 | var loaderUtils = require('loader-utils'); |