File tree 3 files changed +14
-0
lines changed
vendor/couchapp/_attachments
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
## Generated CouchApp
2
2
3
+ This is meant to be an example CouchApp and to ship with most of the CouchApp goodies.
4
+
3
5
Install with
4
6
5
7
couchapp push . http://localhost:5984/proto
@@ -12,3 +14,12 @@ You can also create this app by running
12
14
13
15
couchapp generate proto && cd proto
14
16
couchapp push . http://localhost:5984/proto
17
+
18
+ ## Todo
19
+
20
+ * factor CouchApp Commonjs to jquery.couch.require.js
21
+ * use $.couch.app in app.js
22
+
23
+ ## License
24
+
25
+ Apache 2.0
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ <h1>Generated CouchApp</h1>
29
29
< script src ="vendor/couchapp/jquery.couchForm.js "> </ script >
30
30
< script src ="vendor/couchapp/jquery.mustache.js "> </ script >
31
31
32
+ <!-- templates used by app.js -->
32
33
< script id ="new-message " type ="text/x-mustache " charset ="utf-8 ">
33
34
< div class = "avatar" >
34
35
{ { #gravatar_url} } < img src = "{{gravatar_url}}" /> { { / gravatar_url} }
Original file line number Diff line number Diff line change
1
+ // I think this should go in jquery.couch.js
2
+
1
3
( function ( $ ) {
2
4
$ . fn . couchForm = function ( opts ) {
3
5
opts = opts || { } ;
You can’t perform that action at this time.
0 commit comments