Live data from Hacker News

A collaborative spreadsheet in less than 45 lines of JS, one library used

jsfiddle.net

1–10 of 69 posts

Re: A collaborative spreadsheet in less than 45 lines of JS, one library used

#7
post #2

Sweet. How do you do I make it so not every Joe can hack the sheet?

You'd have to parse the cells as some sort of DSL that only allows mathematical tokens, as opposed to eval which allows access to the full arsenal of the JS language. But I think excel is Turing complete

Re: A collaborative spreadsheet in less than 45 lines of JS, one library used

#10
I like the craziness that this devolved into. It's funny when a bunch of people are all editing like mad.

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.

Post reply on HN