git ssb

16+

Dominic / patchbay



Commit 9429dd07ea740e2d002c966affa5cdaccc0d73f3

Switch to using unicode escapes

Bradley Donahue committed on 2/4/2017, 4:06:19 PM
Parent: 0c056b3b97a2efd2fceb281c3d99ac1fe864be47

Files changed

modules_basic/like.jschanged
modules_extra/raw.jschanged
modules_basic/like.jsView
@@ -42,10 +42,10 @@
4242
4343 if (votes.length === 0) return
4444
4545 digs.textContent = votes.length > 4
46- ? votes.length + ' 🗸'
47- : Array(votes.length).fill('🗸').join('')
46 + ? votes.length + ' \u2713'
47 + : Array(votes.length).fill('\u2713').join('')
4848
4949 pull(
5050 pull.values(votes.map(vote => api.avatar_name(vote.source))),
5151 pull.collect((err, ary) => {
modules_extra/raw.jsView
@@ -7,9 +7,9 @@
77 return function (msg) {
88 var tmp = h('div')
99 var el
1010 var pre
11- const symbol = '⛭'
11 + const symbol = '\u2699'
1212 var clicked = false
1313
1414 return h('a', {
1515 title: 'View raw data',
@@ -78,6 +78,4 @@
7878 arr[i] = h('a', {href: '#' + arr[i]}, arr[i])
7979 }
8080 return arr
8181 }
82-
83-

Built with git-ssb-web