Skip to content

Commit 4eb3c44

Browse files
committed
Merge branch 'master' into sandstorm
2 parents 5bfcddd + 85cbb14 commit 4eb3c44

19 files changed

+7507
-67
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ depends: app.js static/ethercalc.js static/start.css static/multi.js
4848

4949
node_modules/socialcalc/dist/SocialCalc.js: ./node_modules/streamline/bin/_node
5050
@-mkdir -p node_modules/socialcalc/dist
51-
cp node_modules/socialcalc/SocialCalc.js node_modules/socialcalc/dist/SocialCalc.js
51+
cp node_modules/socialcalc/SocialCalc.js node_modules/socialcalc/dist/SocialCalc.js || true
5252

5353
static/ethercalc.js: $(ETHERCALC_FILES) \
5454
./node_modules/socialcalc/dist/SocialCalc.js \

app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

db.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dotcloud.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

emailer.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.js

+25-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

multi/foldr.ls

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export class HackFoldr
77
res <~ $.get "#{ @base }/_/#{ @id }/csv.json"
88
if res.body?length
99
res.body.shift! # header
10-
@rows = [ { link, title, row: idx+2 } for [link, title], idx in res.body | link and title and link isnt /^#/ ]
10+
@rows = [ { link, title, row: idx+2 } for [link, title], idx in res.body | link and link isnt /^#/ and title = if title then title else "Sheet"+ (idx+1) ]
1111
else
1212
@was-non-existent = true
1313
if !@rows?length
1414
@was-empty = true
15-
return cb? @rows = [ { row: 2, link: "/#{ @id }#one", title: \Sheet1 } ]
15+
return cb? @rows = [] , @.push({link: "/#{ @id }#one", title: \Sheet1 }) , cb(@)
1616
cb? @rows
1717
size: -> @rows.length
1818
lastIndex: -> @rows.length - 1

0 commit comments

Comments
 (0)