1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 16:30:46 +00:00

Started refactoring tw5dropbox into separate wikis

One wiki for the hosted shared app, and one for the wiki app that is
created in the dropbox sandbox
This commit is contained in:
Jeremy Ruston 2012-10-10 17:19:19 +01:00
parent c46d868dd4
commit 5c1ab19573
7 changed files with 34 additions and 6 deletions

10
dbld.sh
View File

@ -2,13 +2,13 @@
# build TiddlyWiki5 in the Sky for Dropbox
pushd tw5dropbox > /dev/null
pushd tw5dropbox/mainwiki > /dev/null
node ../core/boot.js \
node ../../core/boot.js \
--verbose \
--savetiddler $:/core/templates/tw5dropbox.template.js ../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/tw5dropbox.js text/plain [!is[shadow]] \
--savetiddler $:/core/templates/index.template.html ../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/index.html text/plain [!is[shadow]] \
--savetiddler $:/core/templates/styles.template.css ../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/styles.css text/plain [!is[shadow]] \
--savetiddler $:/core/templates/tw5dropbox.template.js ../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/tw5dropbox.js text/plain [!is[shadow]] \
--savetiddler $:/core/templates/index.template.html ../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/index.html text/plain [!is[shadow]] \
--savetiddler $:/core/templates/styles.template.css ../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/styles.css text/plain [!is[shadow]] \
|| exit 1
popd > /dev/null

View File

@ -0,0 +1,28 @@
{
"tiddlers": [
{
"file": "../../plugins/async.js",
"fields": {
"title": "$:/plugins/dropbox/async.js",
"type": "application/javascript",
"library": "yes"
}
},
{
"file": "../../plugins/dropbox.js",
"fields": {
"title": "$:/plugins/dropbox/dropbox.js",
"type": "application/javascript",
"module-type": "startup"
}
},
{
"file": "../../plugins/logoutmacro.js",
"fields": {
"title": "$:/plugins/dropbox/logoutmacro.js",
"type": "application/javascript",
"module-type": "macro"
}
}
]
}

View File

@ -1,4 +1,4 @@
title: $:/core/templates/styles.template.css
type: text/x-tiddlywiki-html
<<serialize "[is[shadow]type[text/css]]" application/x-tiddler-css>>
<<serialize "[is[shadow]type[text/css]]" text/plain>>