-
Notifications
You must be signed in to change notification settings - Fork 15
/
ghcjs-vdom.cabal
108 lines (99 loc) · 3.78 KB
/
ghcjs-vdom.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: ghcjs-vdom
version: 0.2.0.0
synopsis: Virtual-dom bindings for GHCJS
description: Virtual-dom is a library for fast incremental DOM
updates by comparing virtual immutable DOM trees to
find a minimal number of changes to update the actual DOM.
The bindings support memoized nodes which are only
recomputed when the underlying data changes, using
referential equality for the function and arguments.
The diff procedure in the virtual-dom library has been
modified slightly to support computing a diff in an
asynchronous thread. Since computing a diff forces all data
around the virtual-dom tree, the computation, the computation
can be expensive.
An asynchronous diff computation can be safely aborted
with an async exception.
license: MIT
license-file: LICENSE
author: Luite Stegeman
maintainer: stegeman@gmail.com
category: Web
build-type: Simple
cabal-version: >=1.10
extra-source-files: virtual-dom/lib.require.js
virtual-dom/diff.js
virtual-dom/LICENSE
virtual-dom/handle-thunk.js
virtual-dom/README.md
virtual-dom/package.json
data/example.css
README.markdown
flag build-examples
description: build the example programs
default: False
manual: True
library
js-sources: jsbits/vdom.js
virtual-dom/lib.js
ghcjs-options: -Wall
exposed-modules: GHCJS.VDOM
GHCJS.VDOM.Attribute
GHCJS.VDOM.Component
GHCJS.VDOM.DOMComponent
GHCJS.VDOM.Element
GHCJS.VDOM.Event
GHCJS.VDOM.QQ
GHCJS.VDOM.Render
GHCJS.VDOM.Unsafe
other-modules: GHCJS.VDOM.Internal
GHCJS.VDOM.Internal.TH
GHCJS.VDOM.Internal.Thunk
GHCJS.VDOM.Internal.Types
GHCJS.VDOM.Element.Builtin
build-depends: base >=4.7 && < 5,
ghc-prim,
ghcjs-ffiqq,
ghcjs-base >= 0.2.0.0,
ghcjs-prim,
containers,
split,
template-haskell
hs-source-dirs: src
default-language: Haskell2010
executable ghcjs-vdom-example-table
if !flag(build-examples)
buildable: False
Main-Is: Table.hs
Default-Language: Haskell2010
hs-source-dirs: examples
Build-Depends: base >= 4 && < 5,
ghcjs-ffiqq,
ghcjs-vdom,
containers,
ghcjs-base
ghcjs-Options: -Wall
executable ghcjs-vdom-example-components
if !flag(build-examples)
buildable: False
Main-Is: Components.hs
Default-Language: Haskell2010
hs-source-dirs: examples
Build-Depends: base >= 4 && < 5,
ghcjs-ffiqq,
ghcjs-vdom,
containers,
ghcjs-base
ghcjs-Options: -Wall
executable ghcjs-vdom-example-render
if !flag(build-examples)
buildable: False
Main-Is: Render.hs
Default-Language: Haskell2010
hs-source-dirs: examples
Build-Depends: base >= 4 && < 5,
ghcjs-ffiqq,
ghcjs-vdom,
containers,
ghcjs-base
ghcjs-Options: -Wall