File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ install: bindata format
24
24
bindata : deps
25
25
@echo " --> Generate bindata"
26
26
@go-bindata -pkg tornote templates/... \
27
+ public/vendor/jquery/dist/jquery.slim.min.js \
27
28
public/vendor/sjcl/sjcl.js \
28
29
public/main.js \
29
30
public/styles.css
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tornote" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"homepage" : " https://github.com/osminogin/tornote" ,
5
5
"authors" : [
6
6
" Vladimir Osintsev <[email protected] >"
7
7
],
8
8
"description" : " Anonymous self-destructing notes written in Go" ,
9
9
"license" : " AGPLv3" ,
10
10
"dependencies" : {
11
+ "jquery" : " ~3.0.0" ,
11
12
"sjcl" : " ~1.0.3"
12
13
}
13
14
}
Original file line number Diff line number Diff line change 14
14
integrity ="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7 "
15
15
crossorigin ="anonymous ">
16
16
< link rel ="stylesheet " href ="/public/styles.css ">
17
+
18
+ < script src ="//ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js "> </ script >
17
19
</ head >
18
20
< body >
19
21
42
44
</ div >
43
45
</ footer >
44
46
45
- < script src ="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js "> </ script >
47
+ < script > // Local fallback for jQuery library served with CDN
48
+ if ( ! window . jQuery ) { document . write ( '<script src="/public/vendor/jquery/dist/jquery.slim.min.js"><\/script>' ) ; }
49
+ </ script >
46
50
< script src ="/public/vendor/sjcl/sjcl.js "> </ script >
47
51
< script src ="/public/main.js "> </ script >
48
52
</ body >
You can’t perform that action at this time.
0 commit comments