mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-16 16:11:39 +00:00
initial prototype started....
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
commit
09ae01b636
4
ext-lib/jquery.js
vendored
Executable file
4
ext-lib/jquery.js
vendored
Executable file
File diff suppressed because one or more lines are too long
16
index.html
Executable file
16
index.html
Executable file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
</style>
|
||||
|
||||
<script src="ext-lib/jquery.js"></script>
|
||||
<script src="wiki.js"></script>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
55
wiki.js
Executable file
55
wiki.js
Executable file
@ -0,0 +1,55 @@
|
||||
/**********************************************************************
|
||||
*
|
||||
*
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
//var DEBUG = DEBUG != null ? DEBUG : true
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
|
||||
// data store...
|
||||
// Format:
|
||||
// {
|
||||
// <path>: {
|
||||
// text: <text>,
|
||||
//
|
||||
// links: [
|
||||
// <offset>: <link>,
|
||||
// ],
|
||||
// }
|
||||
// }
|
||||
var data = {
|
||||
|
||||
}
|
||||
|
||||
|
||||
var Wiki = {
|
||||
data: data,
|
||||
|
||||
get location(){
|
||||
},
|
||||
set location(value){
|
||||
},
|
||||
|
||||
get path(){
|
||||
},
|
||||
set path(value){
|
||||
},
|
||||
|
||||
get text(){
|
||||
},
|
||||
set text(value){
|
||||
},
|
||||
|
||||
get text(){
|
||||
},
|
||||
set text(value){
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* vim:set ts=4 sw=4 : */
|
||||
Loading…
x
Reference in New Issue
Block a user