A collaborative spreadsheet in less than 45 lines of JS, one library used
jsfiddle.net
jsfiddle.net
No, that is the point. I even pointed it out hours ago: https://news.ycombinator.com/item?id=6727448
The failure is the lesson. The previous version was a clever hack written by a clever person. This is ignorance, and the lesson is that allowing users to run arbitrary code on other user's computers is bad idea.
There is no failure here to be seen. There is a clever hack to make a spreadsheet shared quick and dirty.
Just a reminder that all the JS code you run, in particular on jsFiddle, is untrusted and is part of the security model of the JS engine in your browser that evil JS code must not be able to do any harm. If it did, report it to the browser vendor and earn a bounty.
<h1>Alabama</h1>
<p>Please call 205-XXX-XXXX for more information.</p>
<h1>Alaska</h1>
<p>Please call 907-XXX-XXXX for more information.</p>
<h1>Arizona</h1>
<p>Please call 480-XXX-XXXX for more information.</p>
<h1>Arkansas</h1>
<p>Please call 479-XXX-XXXX for more information.</p>
...
Who needs doctypes, titles, or bodies...Let me know if you know how to fix this.
I had the thought that it'd be fun to have a contest using jsfiddle to start from some point, like the excel (lite) clone in 30 lines, and add the best/coolest feature in some limit of lines.
It's really wonderful how ingenuity stacks.
I wonder if a collaborative drawing app could be made with this, using canvas.. I keep trying to figure out exactly how it works but then sparkleponies and alerts everywhere...
=location.href='google.com'
Browsers tend to have more problem with =while(1){}
[Note: not being sarcastic. Think this is a genuinely awesome way to respond to first post!]
Just a very quick, crude little hack.
EDIT: Nevermind, it's back.