File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11//common
22var domain = 'change this' ; // domain name
33var urlpath = '' ; // sub url path, like: www.example.com/<urlpath>
4+ //settings
5+ var debug = false ;
46
57var GOOGLE_API_KEY = 'change this' ;
68var GOOGLE_CLIENT_ID = 'change this' ;
@@ -10,6 +12,8 @@ var serverurl = window.location.protocol + '//' + domain + (port ? ':' + port :
1012var noteid = urlpath ? window . location . pathname . slice ( urlpath . length + 1 , window . location . pathname . length ) . split ( '/' ) [ 1 ] : window . location . pathname . split ( '/' ) [ 1 ] ;
1113var noteurl = serverurl + '/' + noteid ;
1214
15+ var version = '0.3.4' ;
16+
1317var checkAuth = false ;
1418var profile = null ;
1519var lastLoginState = getLoginState ( ) ;
Original file line number Diff line number Diff line change 1- //constant vars
2- //settings
3- var debug = false ;
4- var version = '0.3.4' ;
5-
61var defaultTextHeight = 20 ;
72var viewportMargin = 20 ;
83var defaultExtraKeys = {
You can’t perform that action at this time.
0 commit comments