Commit 25a8b716544bd1f58eeba52a1feb6bb5a6eb78ae
add es2040, also remove usage of reserved word 'private'
Michael Williams authored on 12/28/2016, 11:15:51 AMmix irving committed on 12/30/2016, 9:55:59 PM
Parent: 4f3054d52e3dd8118e872578e5b857dcdad40d59
Files changed
modules_basic/thread.js | changed |
package.json | changed |
modules_basic/thread.js | ||
---|---|---|
@@ -120,10 +120,10 @@ | ||
120 | 120 … | meta.root = thread[0].value.content.root || thread[0].key |
121 | 121 … | meta.channel = thread[0].value.content.channel |
122 | 122 … | |
123 | 123 … | 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) { | |
126 | 126 … | if(recps) |
127 | 127 … | meta.recps = recps |
128 | 128 … | else |
129 | 129 … | meta.recps = [thread[0].value.author, self_id] |
package.json | ||
---|---|---|
@@ -12,8 +12,9 @@ | ||
12 | 12 … | "brfs": "^1.4.3", |
13 | 13 … | "cont": "^1.0.3", |
14 | 14 … | "dataurl-": "^0.1.0", |
15 | 15 … | "depject": "^3.0.0", |
16 … | + "es2040": "^1.2.4", | |
16 | 17 … | "hjson": "^2.0.3", |
17 | 18 … | "human-time": "0.0.1", |
18 | 19 … | "hypercombo": "0.1.0", |
19 | 20 … | "hypercrop": "^1.0.1", |
@@ -67,9 +68,10 @@ | ||
67 | 68 … | "indexhtmlify": "^1.3.1" |
68 | 69 … | }, |
69 | 70 … | "browserify": { |
70 | 71 … | "transform": [ |
71 | - "brfs" | |
72 … | + "brfs", | |
73 … | + "es2040" | |
72 | 74 … | ] |
73 | 75 … | }, |
74 | 76 … | "scripts": { |
75 | 77 … | "lite": "mkdir -p build && browserify index.js | indexhtmlify --title patchbay > build/index.html", |
Built with git-ssb-web