mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
Merge branch 'master' into gen2
This commit is contained in:
commit
c046402ee4
1
Makefile
1
Makefile
@ -16,6 +16,7 @@ node_modules:
|
|||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
|
||||||
|
# XXX is this a good idea???
|
||||||
dev: node_modules
|
dev: node_modules
|
||||||
cp $</ig-object/object.js lib/
|
cp $</ig-object/object.js lib/
|
||||||
cp $</ig-actions/actions.js lib/
|
cp $</ig-actions/actions.js lib/
|
||||||
|
|||||||
5
bootstrap.js
vendored
5
bootstrap.js
vendored
File diff suppressed because one or more lines are too long
3
scripts/bootstrap.js
vendored
3
scripts/bootstrap.js
vendored
@ -47,6 +47,9 @@ glob('bootstrap/**/*.@(tpl|md|css|html)')
|
|||||||
+'all changes made here will be lost.'
|
+'all changes made here will be lost.'
|
||||||
+'\n\n'
|
+'\n\n'
|
||||||
+'var Bootstrap = ' + JSON.stringify(bootstrap)
|
+'var Bootstrap = ' + JSON.stringify(bootstrap)
|
||||||
|
+'\n\n'
|
||||||
|
+'typeof(module) != "undefined" \n'
|
||||||
|
+' && (module.exports = Bootstrap)'
|
||||||
|
|
||||||
console.log('Writing:', 'bootstrap.js')
|
console.log('Writing:', 'bootstrap.js')
|
||||||
fs.writeFileSync('bootstrap.js', txt) })
|
fs.writeFileSync('bootstrap.js', txt) })
|
||||||
|
|||||||
5
ui.js
5
ui.js
@ -6,9 +6,6 @@
|
|||||||
|
|
||||||
var requirejs_cfg = {
|
var requirejs_cfg = {
|
||||||
paths: {
|
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': [
|
'lib/object': [
|
||||||
'./node_modules/ig-object/object',
|
'./node_modules/ig-object/object',
|
||||||
'./lib/object',
|
'./lib/object',
|
||||||
@ -51,4 +48,4 @@ var pwiki = require('pwiki')
|
|||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* vim:set ts=4 sw=4 : */ return module })
|
* vim:set ts=4 sw=4 nowrap : */ return module })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user