git ssb

16+

Dominic / patchbay



Commit 25a8b716544bd1f58eeba52a1feb6bb5a6eb78ae

add es2040, also remove usage of reserved word 'private'

Michael Williams authored on 12/28/2016, 11:15:51 AM
mix irving committed on 12/30/2016, 9:55:59 PM
Parent: 4f3054d52e3dd8118e872578e5b857dcdad40d59

Files changed

modules_basic/thread.jschanged
package.jsonchanged
modules_basic/thread.jsView
@@ -120,10 +120,10 @@
120120 meta.root = thread[0].value.content.root || thread[0].key
121121 meta.channel = thread[0].value.content.channel
122122
123123 var recps = thread[0].value.content.recps
124- var private = thread[0].value.private
125- if(private) {
124 + var priv = thread[0].value['private']
125 + if(priv) {
126126 if(recps)
127127 meta.recps = recps
128128 else
129129 meta.recps = [thread[0].value.author, self_id]
package.jsonView
@@ -12,8 +12,9 @@
1212 "brfs": "^1.4.3",
1313 "cont": "^1.0.3",
1414 "dataurl-": "^0.1.0",
1515 "depject": "^3.0.0",
16 + "es2040": "^1.2.4",
1617 "hjson": "^2.0.3",
1718 "human-time": "0.0.1",
1819 "hypercombo": "0.1.0",
1920 "hypercrop": "^1.0.1",
@@ -67,9 +68,10 @@
6768 "indexhtmlify": "^1.3.1"
6869 },
6970 "browserify": {
7071 "transform": [
71- "brfs"
72 + "brfs",
73 + "es2040"
7274 ]
7375 },
7476 "scripts": {
7577 "lite": "mkdir -p build && browserify index.js | indexhtmlify --title patchbay > build/index.html",

Built with git-ssb-web