git ssb

0+

mixmix / patchbay-scry



Commit c570701c242c9ea977861c585348b6ea930a6194

install standard

mixmix committed on 8/23/2018, 5:38:21 AM
Parent: cefba4fb81eefbf1b0156d7fc7fd017dbef3b68f

Files changed

package-lock.jsonchanged
package.jsonchanged
plugs/app/page/scry-new.jschanged
plugs/app/page/scry-show.jschanged
plugs/styles/mcss.jschanged
views/new.jschanged
views/new.test.jschanged
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 83485 bytes
New file size: 131900 bytes
package.jsonView
@@ -3,9 +3,10 @@
33 "version": "0.0.1",
44 "description": "figure out a meeting time with friends, (like doodle, but for scuttlebutt)",
55 "main": "plugs/index.js",
66 "scripts": {
7- "test": "echo \"Error: no test specified\" && exit 1"
7 + "lint": "standard --fix",
8 + "test": "standard"
89 },
910 "repository": {
1011 "type": "git",
1112 "url": "git+https://github.com/mixmix/patchbay-scry.git"
@@ -33,7 +34,8 @@
3334 },
3435 "devDependencies": {
3536 "electro": "^2.1.1",
3637 "electron": "^2.0.7",
37- "micro-css": "^2.0.1"
38 + "micro-css": "^2.0.1",
39 + "standard": "^11.0.1"
3840 }
3941 }
plugs/app/page/scry-new.jsView
@@ -25,9 +25,9 @@
2525 const scuttle = Scuttle(api.sbot.obs.connection)
2626 const { title } = getContent(location)
2727
2828 const page = h('Scry -show', { title: '/scry/new' }, [
29- h('h1', ['Scry', h('i.fa.fa-diamond')]),
29 + h('h1', ['Scry', h('i.fa.fa-diamond')])
3030 ])
3131
3232 page.scroll = () => {} // stops keyboard shortcuts from breaking
3333 return page
plugs/app/page/scry-show.jsView
@@ -25,9 +25,9 @@
2525 const scuttle = Scuttle(api.sbot.obs.connection)
2626 const { title } = getContent(location)
2727
2828 const page = h('Scry -show', { title: `/scry — ${name}` }, [
29- h('h1', ['Scry', h('i.fa.fa-diamond')]),
29 + h('h1', ['Scry', h('i.fa.fa-diamond')])
3030 ])
3131
3232 page.scroll = () => {} // stops keyboard shortcuts from breaking
3333 return page
plugs/styles/mcss.jsView
@@ -17,9 +17,9 @@
1717 return nest('styles.mcss', mcss)
1818
1919 function mcss (sofar = {}) {
2020 sofar.marama = getMaramaMCSS()
21-
21 +
2222 each(contents, (content, [filename]) => {
2323 // const name = basename(filename)
2424 sofar[`scry-${filename}`] = content
2525 })
views/new.jsView
@@ -49,18 +49,16 @@
4949 ])
5050
5151 return page
5252
53-
5453 function setMonth (d) {
5554 state.monthIndex.set(state.monthIndex() + d)
5655 }
5756
5857 function MonthTitle (monthIndex) {
5958 const MONTHS = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ]
6059
6160 return computed(monthIndex, mi => {
62-
6361 const view = new Date()
6462 view.setMonth(mi)
6563
6664 return `${MONTHS[view.getMonth()]} ${view.getFullYear()}`
@@ -86,12 +84,10 @@
8684 const filteredEvents = state.days().filter(e => !days.includes(e))
8785 state.days.set(filteredEvents)
8886 }
8987 }
90-
9188 }
9289
93-
9490 function getTimezone () {
9591 try {
9692 return Intl.DateTimeFormat().resolvedOptions().timeZone
9793 } catch (e) {
views/new.test.jsView
@@ -17,7 +17,4 @@
1717 padding: 2rem;
1818 }
1919 `)
2020 )
21-
22-
23-

Built with git-ssb-web