git ssb

0+

dangerousbeans / patchbay-bootstrap



Commit e21a9be3a9549565bc7a341242f66ca526e31ce9

build to HTML still

Joran Kikke committed on 8/31/2016, 4:29:16 AM
Parent: a2e4ccaa04889120de5ef2a15f06418ce68d43a7

Files changed

index.jschanged
modules/compose.jschanged
package.jsonchanged
index.jsView
@@ -27,15 +27,13 @@
2727 console.log(require('depject/graph')(modules))
2828 process.exit(0)
2929 }
3030
31-document.head.appendChild(
32- h('style', fs.readFileSync('./css/style.css', 'utf8')
33-))
34-document.head.appendChild(
35- h('style', fs.readFileSync('./css/bootstrap.css', 'utf8')
36-))
37-document.head.appendChild(
38- h('style', fs.readFileSync('./css/bootstrap_theme.css', 'utf8')
39-))
31 +//
32 +// document.head.appendChild(
33 +// h('style', fs.readFileSync('./css/bootstrap.css', 'utf8')
34 +// ))
35 +// document.head.appendChild(
36 +// h('style', fs.readFileSync('./css/bootstrap_theme.css', 'utf8')
37 +// ))
4038
4139 document.body.appendChild(modules['app.js'].app())
modules/compose.jsView
@@ -89,10 +89,8 @@
8989 var publishBtn = h('button.btn.primary-btn', 'Publish', {onclick: publish})
9090 var composer =
9191 h('div.compose', h('div.column', ta,
9292 accessories = h('fieldset.compose__controls',
93- //hidden until you focus the textarea
94- {disabled: true},
9593 file_input(function (file) {
9694 files.push(file)
9795 filesById[file.link] = file
9896
package.jsonView
@@ -52,9 +52,9 @@
5252 "browser": {
5353 "./modules/index.js": "./modules/_index.js"
5454 },
5555 "scripts": {
56- "build": "node build.js > modules/_index.js && mkdir -p build && browselectrify index.js > build/bundle.js",
56 + "build": "node build.js > modules/_index.js && mkdir -p build && browselectrify index.js > build/bundle.js && indexhtmlify < build/bundle.js > build/index.html",
5757 "graph": "node index.js | dot -Tsvg > graph.svg",
5858 "test": "set -e; for t in test/*.js; do node $t; done"
5959 },
6060 "author": "Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)",

Built with git-ssb-web