News for hackers. Stuff that matters.
Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by phonon on Monday February 18, 2019 @07:33PM (#19195776)
Source available?
Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by MikaelMayer on Monday February 18, 2019 @08:05PM (#19195906)
The source is a Google Script. When I try to create a shareable link, either by obtaining the share link or advanced share options, I get the error "Sorry, an internal error has occurred and your request has not been processed.". I'll let you know when it's working again and I'll post the link here.
Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by wffurr on Monday February 18, 2019 @08:46PM (#19196078)
Use clasp to manage your apps script project and push to Google apps script from a local git repo which you can also push to GitHub.

https://codelabs.developers.google.com/codelabs/clasp/#0

Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by MikaelMayer on Tuesday February 19, 2019 @09:59AM (#19199326)
Thanks for the tool. Unfortunately, this makes run-test lifecycle painful -- I just want to launch a procedure and view the result in a Google docs, not git commit -am message and then git push and then refresh and then launch a procedure -- so I'm likely not going to use it
Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by wffurr on Tuesday February 19, 2019 @11:36AM (#19200183)
I was using an older version of this and was able to push directly to Google Apps Script / Docs from the repo with uncommitted changes for testing, and then only commit and push to git when I was happy with it.

I wrote stubs for the relevant apps script APIs and was able to run tests locally as well: https://github.com/wffurr/safe-contract-validator/blob/maste...

Re:JavaScript-Based Spreadsheet-Like Formulas in Google Docs by MikaelMayer on Thursday February 28, 2019 @04:12PM (#19275258)
Thanks, I finally managed to make Clasp work. Here is the source code of the latest nightly version:

https://github.com/MikaelMayer/Sketch-n-Script