Skip to content

Commit cf2dfad

Browse files
committed
* Crosslink
1 parent 7fd684f commit cf2dfad

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

spreadsheet/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# Spreadsheet
1+
# Web Spreadsheet in 99 Lines
22

33
Author: Audrey Tang
4-
Project: Web Spreadsheet in 99 Lines
54
Languages: JavaScript, HTML, CSS
65
Dependencies: AngularJS, Web Workers, Traceur Compiler
76

7+
## Chapter Text
8+
9+
<https://github.com/audreyt/500lines/blob/master/spreadsheet/chapter.md>
10+
811
## Online Demo
912

1013
<http://audreyt.github.io/500lines/spreadsheet/>
@@ -19,8 +22,13 @@ If you'd like to use Chrome, type `make run` or `node extra/static-here.js` and
1922

2023
## Building the Code
2124

22-
Source code (`main.js` and `worker.js`) are written in ECMAScript 6 (aka _ES.next_, aka _Harmony_), specifically the subset marked with [TC39 Consensus](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ECMAScript_6_support_in_Mozilla) as of February 2014.
25+
To build from source, first install [NodeJS](http://www.nodejs.org/) 0.10 or later, and run `make` (only tested on Linux/OSX at the moment).
26+
27+
JS source code (`main.js` and `worker.js`) are written in ECMAScript 6 (aka _ES.next_, aka _Harmony_), specifically the subset marked with [TC39 Consensus](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ECMAScript_6_support_in_Mozilla) as of February 2014.
2328

2429
For backward compatibility with ECMAScript 5 browsers, we use [Traceur](https://github.com/google/traceur-compiler) to compile source files into the `es5/` directory.
2530

26-
To build from source, first install [NodeJS](http://www.nodejs.org/) 0.10 or later, and run `make` (only tested on Linux/OSX at the moment).
31+
If you prefer to work directly with the 2010 edition of JS, the [as-javascript-1.8.5](https://audreyt.github.io/500lines/spreadsheet/as-javascript-1.8.5/) directory has **main.js** and **worker.js** written in the style of ES5; the [source code](https://github.com/audreyt/500lines/tree/master/spreadsheet/as-javascript-1.8.5) is line-by-line comparable to the ES6 version with the same line count.
32+
33+
For people preferring a cleaner syntax, the [as-livescript-1.2.0](https://audreyt.github.io/500lines/spreadsheet/as-livescript-1.2.0/) directory uses [LiveScript](http://livescript.net/) instead of ES6 to write **main.ls** and **worker.ls**; the [source code](https://github.com/audreyt/500lines/tree/master/spreadsheet/as-livescript-1.2.0)
34+
is 20 lines shorter than the JS version.

0 commit comments

Comments
 (0)