mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-18 00:51:38 +00:00
added some missing stuff...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d2bb337b35
commit
55bf7e825f
3
bootstrap/TestTodo.md
Normal file
3
bootstrap/TestTodo.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Templates/outline/_edit]
|
||||||
|
|
||||||
|
@include(./todo)
|
||||||
1
bootstrap/TestTodo/01.html
Executable file
1
bootstrap/TestTodo/01.html
Executable file
@ -0,0 +1 @@
|
|||||||
|
item 1
|
||||||
1
bootstrap/TestTodo/02.html
Executable file
1
bootstrap/TestTodo/02.html
Executable file
@ -0,0 +1 @@
|
|||||||
|
item 2
|
||||||
1
bootstrap/TestTodo/03.html
Executable file
1
bootstrap/TestTodo/03.html
Executable file
@ -0,0 +1 @@
|
|||||||
|
item 3
|
||||||
1
bootstrap/TestTodo/04.html
Executable file
1
bootstrap/TestTodo/04.html
Executable file
@ -0,0 +1 @@
|
|||||||
|
item 4
|
||||||
2142
ext-lib/require.js
Executable file
2142
ext-lib/require.js
Executable file
File diff suppressed because it is too large
Load Diff
19
lib/_module.js
Normal file
19
lib/_module.js
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
**********************************************************************/
|
||||||
|
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
|
||||||
|
(function(require){ var module={} // make module AMD/node compatible...
|
||||||
|
/*********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* vim:set ts=4 sw=4 : */ return module })
|
||||||
51
ui.js
Executable file
51
ui.js
Executable file
@ -0,0 +1,51 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
**********************************************************************/
|
||||||
|
|
||||||
|
var requirejs_cfg = {
|
||||||
|
paths: {
|
||||||
|
// XXX one approach to avoid at least this section is to copy the
|
||||||
|
// modules to lib/*, this way we'll need the map section below
|
||||||
|
// only... (without automation this also sounds bad)
|
||||||
|
'lib/object': './node_modules/ig-object/object',
|
||||||
|
'lib/actions': './node_modules/ig-actions/actions',
|
||||||
|
'lib/features': './node_modules/ig-features/features',
|
||||||
|
|
||||||
|
//'lib/keyboard': './node_modules/ig-keyboard/keyboard',
|
||||||
|
},
|
||||||
|
map: {
|
||||||
|
'*': {
|
||||||
|
// back-refs
|
||||||
|
// ...these enable the npm modules reference each other in
|
||||||
|
// a cross-platform manner....
|
||||||
|
'ig-object': 'lib/object',
|
||||||
|
'ig-actions': 'lib/actions',
|
||||||
|
'ig-features': 'lib/features',
|
||||||
|
|
||||||
|
//'ig-keyboard': 'lib/keyboard',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
// config the browser version of requirejs...
|
||||||
|
requirejs.config(requirejs_cfg)
|
||||||
|
|
||||||
|
|
||||||
|
;/********************************************************************/
|
||||||
|
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
|
||||||
|
(function(require){ var module={} // make module AMD/node compatible...
|
||||||
|
/*********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
var pwiki = require('pwiki')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* vim:set ts=4 sw=4 : */ return module })
|
||||||
Loading…
x
Reference in New Issue
Block a user