diff options
author | eric <thul.eric@gmail.com> | 2016-05-21 22:44:27 -0400 |
---|---|---|
committer | eric <thul.eric@gmail.com> | 2016-05-21 22:44:27 -0400 |
commit | d301b47d8fb7139d11f59c5d969bdde6132a8230 (patch) | |
tree | 10a7677d88c750b360f141b2e9d5ca095e01ab4c /docs | |
parent | 777472b3830cb3d2ff3390003ea422c6d4522715 (diff) | |
parent | 17acb575860cf1bed9e1f6d992a9b7cd66057464 (diff) | |
download | purs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.tar.gz purs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.tar.zst purs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.zip |
Merge pull request #47 from alexmingoia/topic/refactor
Refactor to compile independently of purescript-webpack-plugin.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/PursLoader/Debug.md | 9 | ||||
-rw-r--r-- | docs/PursLoader/JsStringEscape.md | 9 | ||||
-rw-r--r-- | docs/PursLoader/Loader.md | 27 | ||||
-rw-r--r-- | docs/PursLoader/LoaderRef.md | 51 | ||||
-rw-r--r-- | docs/PursLoader/LoaderUtil.md | 9 | ||||
-rw-r--r-- | docs/PursLoader/Options.md | 21 | ||||
-rw-r--r-- | docs/PursLoader/Path.md | 27 | ||||
-rw-r--r-- | docs/PursLoader/Plugin.md | 33 |
8 files changed, 0 insertions, 186 deletions
diff --git a/docs/PursLoader/Debug.md b/docs/PursLoader/Debug.md deleted file mode 100644 index 824a9f8..0000000 --- a/docs/PursLoader/Debug.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | ## Module PursLoader.Debug | ||
2 | |||
3 | #### `debug` | ||
4 | |||
5 | ``` purescript | ||
6 | debug :: forall eff. String -> Eff (loader :: Loader | eff) Unit | ||
7 | ``` | ||
8 | |||
9 | |||
diff --git a/docs/PursLoader/JsStringEscape.md b/docs/PursLoader/JsStringEscape.md deleted file mode 100644 index 09f52aa..0000000 --- a/docs/PursLoader/JsStringEscape.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | ## Module PursLoader.JsStringEscape | ||
2 | |||
3 | #### `jsStringEscape` | ||
4 | |||
5 | ``` purescript | ||
6 | jsStringEscape :: String -> String | ||
7 | ``` | ||
8 | |||
9 | |||
diff --git a/docs/PursLoader/Loader.md b/docs/PursLoader/Loader.md deleted file mode 100644 index d05e3b7..0000000 --- a/docs/PursLoader/Loader.md +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | ## Module PursLoader.Loader | ||
2 | |||
3 | #### `Effects` | ||
4 | |||
5 | ``` purescript | ||
6 | type Effects eff = (console :: CONSOLE, err :: EXCEPTION | eff) | ||
7 | ``` | ||
8 | |||
9 | #### `Effects_` | ||
10 | |||
11 | ``` purescript | ||
12 | type Effects_ eff = Effects (loader :: Loader | eff) | ||
13 | ``` | ||
14 | |||
15 | #### `loader` | ||
16 | |||
17 | ``` purescript | ||
18 | loader :: forall eff. LoaderRef -> String -> Eff (Effects_ eff) Unit | ||
19 | ``` | ||
20 | |||
21 | #### `loaderFn` | ||
22 | |||
23 | ``` purescript | ||
24 | loaderFn :: forall eff. Fn2 LoaderRef String (Eff (Effects_ eff) Unit) | ||
25 | ``` | ||
26 | |||
27 | |||
diff --git a/docs/PursLoader/LoaderRef.md b/docs/PursLoader/LoaderRef.md deleted file mode 100644 index 917db3a..0000000 --- a/docs/PursLoader/LoaderRef.md +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | ## Module PursLoader.LoaderRef | ||
2 | |||
3 | #### `AsyncCallback` | ||
4 | |||
5 | ``` purescript | ||
6 | type AsyncCallback eff = Maybe Error -> String -> Eff (loader :: Loader | eff) Unit | ||
7 | ``` | ||
8 | |||
9 | #### `LoaderRef` | ||
10 | |||
11 | ``` purescript | ||
12 | data LoaderRef | ||
13 | ``` | ||
14 | |||
15 | #### `Loader` | ||
16 | |||
17 | ``` purescript | ||
18 | data Loader :: ! | ||
19 | ``` | ||
20 | |||
21 | #### `async` | ||
22 | |||
23 | ``` purescript | ||
24 | async :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) (Maybe Error -> String -> Eff (loader :: Loader | eff) Unit) | ||
25 | ``` | ||
26 | |||
27 | #### `cacheable` | ||
28 | |||
29 | ``` purescript | ||
30 | cacheable :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
31 | ``` | ||
32 | |||
33 | #### `clearDependencies` | ||
34 | |||
35 | ``` purescript | ||
36 | clearDependencies :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
37 | ``` | ||
38 | |||
39 | #### `resourcePath` | ||
40 | |||
41 | ``` purescript | ||
42 | resourcePath :: LoaderRef -> String | ||
43 | ``` | ||
44 | |||
45 | #### `addDependency` | ||
46 | |||
47 | ``` purescript | ||
48 | addDependency :: forall eff. LoaderRef -> String -> Eff (loader :: Loader | eff) Unit | ||
49 | ``` | ||
50 | |||
51 | |||
diff --git a/docs/PursLoader/LoaderUtil.md b/docs/PursLoader/LoaderUtil.md deleted file mode 100644 index 36d6879..0000000 --- a/docs/PursLoader/LoaderUtil.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | ## Module PursLoader.LoaderUtil | ||
2 | |||
3 | #### `parseQuery` | ||
4 | |||
5 | ``` purescript | ||
6 | parseQuery :: String -> Foreign | ||
7 | ``` | ||
8 | |||
9 | |||
diff --git a/docs/PursLoader/Options.md b/docs/PursLoader/Options.md deleted file mode 100644 index b3352fc..0000000 --- a/docs/PursLoader/Options.md +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | ## Module PursLoader.Options | ||
2 | |||
3 | #### `Options` | ||
4 | |||
5 | ``` purescript | ||
6 | newtype Options | ||
7 | = Options { bundleOutput :: String } | ||
8 | ``` | ||
9 | |||
10 | ##### Instances | ||
11 | ``` purescript | ||
12 | IsForeign Options | ||
13 | ``` | ||
14 | |||
15 | #### `runOptions` | ||
16 | |||
17 | ``` purescript | ||
18 | runOptions :: Options -> Options_ | ||
19 | ``` | ||
20 | |||
21 | |||
diff --git a/docs/PursLoader/Path.md b/docs/PursLoader/Path.md deleted file mode 100644 index cc00436..0000000 --- a/docs/PursLoader/Path.md +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | ## Module PursLoader.Path | ||
2 | |||
3 | #### `relative` | ||
4 | |||
5 | ``` purescript | ||
6 | relative :: String -> String -> String | ||
7 | ``` | ||
8 | |||
9 | #### `resolve` | ||
10 | |||
11 | ``` purescript | ||
12 | resolve :: String -> String | ||
13 | ``` | ||
14 | |||
15 | #### `dirname` | ||
16 | |||
17 | ``` purescript | ||
18 | dirname :: String -> String | ||
19 | ``` | ||
20 | |||
21 | #### `joinPath` | ||
22 | |||
23 | ``` purescript | ||
24 | joinPath :: String -> String -> String | ||
25 | ``` | ||
26 | |||
27 | |||
diff --git a/docs/PursLoader/Plugin.md b/docs/PursLoader/Plugin.md deleted file mode 100644 index 7a524da..0000000 --- a/docs/PursLoader/Plugin.md +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | ## Module PursLoader.Plugin | ||
2 | |||
3 | #### `Compile` | ||
4 | |||
5 | ``` purescript | ||
6 | type Compile eff = Nullable Error -> DependencyGraph -> Eff eff Unit | ||
7 | ``` | ||
8 | |||
9 | #### `Context` | ||
10 | |||
11 | ``` purescript | ||
12 | type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options } | ||
13 | ``` | ||
14 | |||
15 | #### `Options` | ||
16 | |||
17 | ``` purescript | ||
18 | type Options = { bundle :: Boolean, output :: String, bundleOutput :: String } | ||
19 | ``` | ||
20 | |||
21 | #### `dependenciesOf` | ||
22 | |||
23 | ``` purescript | ||
24 | dependenciesOf :: DependencyGraph -> String -> Either Error (Array String) | ||
25 | ``` | ||
26 | |||
27 | #### `DependencyGraph` | ||
28 | |||
29 | ``` purescript | ||
30 | data DependencyGraph :: * | ||
31 | ``` | ||
32 | |||
33 | |||