Skip to content

Commit 5f5c2c0

Browse files
Golf xem.html down to 208b
1 parent f7a1c17 commit 5f5c2c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<mark style="background:#fe5;padding: 3px;">2017-09-28: <b>Hello Hacker News!</b> Wanna discover 100+ more golfed apps & games like this one? <a href="https://gist.github.com/xem/206db44adbdd09bac424">click here!</a></mark>
55
<br>
66
<h1>Sheet</h1>
7-
<h3>A 218b spreadsheet app in HTML/JS</h3>
7+
<h3>A 208b spreadsheet app in HTML/JS</h3>
88
Inspired by <a href="http://aem1k.com/sheet/">aem1k.com/sheet</a>
99
<br>
10-
Golfed by xem, subzey, p01, rlauck, aemkei, odensc, corruptio
10+
Golfed by xem, subzey, p01, rlauck, aemkei, odensc, justecorruptio
1111
<br>
1212
<a href="https://github.com/xem/ama/issues/14">Related AMA answer</a>
1313
<br>
@@ -39,7 +39,7 @@ <h3>A 218b spreadsheet app in HTML/JS</h3>
3939
<br>
4040
<a href="aem1k.html">aem1k's version, trimmed (272b)</a>
4141
<br>&darr;<br>
42-
<a href="xem.html">new version, mini (220b)</a>
42+
<a href="xem.html">new version, mini (208b)</a>
4343
<br>&darr;<br>
4444
<a href="xem-labels.html">new version with labels and localStorage (256b)</a>
4545
<br>

xem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<script>(o=b=>{for(j in a)for(i in a)y=a[i]+j,b?document.write(`<${i*j?'input':'p'} onfocus=value=[o[id]] onblur=o[id]=value;o() id=${y}>`):eval(y+(".value"+o[y]).replace(/[A-Z]\d/g," +$&.value"))})(a="_ABCD")</script>
1+
<script>(o=v=>{for(i=0;i<20;v?eval(y+(v+o[y]).replace(/[A-Z]\d/g," +$&"+v)):document.write(`<${y?'input id='+y:'p'} onfocus=value=[o[id]] onblur=o[id]=value;o('.value')>`))y="ABCD"[i%5]+-~(i++/5)})()</script>

0 commit comments

Comments
 (0)