forked from literallycanvas/literallycanvas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README_release.txt
44 lines (30 loc) · 1.12 KB
/
README_release.txt
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
Literally Canvas v0.4.2
=======================
Complete documentation can be found at literallycanvas.com.
Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing
widget. Its only dependency is [React.js](http://facebook.github.io/react/).
Get help on our mailing list: literallycanvas@librelist.com (just send it a
message to subscribe)
If you want to modify the source
--------------------------------
Please visit github.com/literallycanvas/literallycanvas and work from the
master branch. This distribution does not include the build sources.
Usage
-----
1. Add the files under `css/` and `img/` to your project, as well as the
appropriate file from `js/`.
2. Add some markup and some JavaScript:
<div class="literally with-jquery"></div>
<script>
$('.literally.with-jquery').literallycanvas();
</script>
<div class="literally without-jquery"></div>
<script>
LC.init(document.getElementsByClassName('literally without-jquery')[0]);
</script>
Developing
----------
Setup: `npm install`
Watching and serving: `gulp dev`
Browse to `localhost:8000/demo` and modify `demo/index.html` to test code
in progress.