Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<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>
<br>
<h1>Sheet</h1>
<h3>A 218b spreadsheet app in HTML/JS</h3>
<h3>A 208b spreadsheet app in HTML/JS</h3>
Inspired by <a href="http://aem1k.com/sheet/">aem1k.com/sheet</a>
<br>
Golfed by xem, subzey, p01, rlauck, aemkei, odensc, corruptio
Golfed by xem, subzey, p01, rlauck, aemkei, odensc, justecorruptio
<br>
<a href="https://github.com/xem/ama/issues/14">Related AMA answer</a>
<br>
Expand Down Expand Up @@ -39,7 +39,7 @@ <h3>A 218b spreadsheet app in HTML/JS</h3>
<br>
<a href="aem1k.html">aem1k's version, trimmed (272b)</a>
<br>&darr;<br>
<a href="xem.html">new version, mini (220b)</a>
<a href="xem.html">new version, mini (208b)</a>
<br>&darr;<br>
<a href="xem-labels.html">new version with labels and localStorage (256b)</a>
<br>
Expand Down
2 changes: 1 addition & 1 deletion xem.html
Original file line number Diff line number Diff line change
@@ -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>
<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>