dreamwriter icon indicating copy to clipboard operation
dreamwriter copied to clipboard

Runtime errors in JS console

Open davedawkins opened this issue 9 years ago • 3 comments

When clicking on top-right 4-way arrow (and from "Download"/"Save" button)

Browser is Chrome Version 44.0.2403.155 m

image

davedawkins avatar Aug 17 '15 10:08 davedawkins

Looks like https://github.com/evancz/start-app needs to update their readme :P

mr-bo-jangles avatar Sep 02 '15 18:09 mr-bo-jangles

Nah - this is definitely a JS error. :)

dreamwriter$ git grep saveAs
src/FileIO.coffee:saveAs = require "FileSaver.js"
src/FileIO.coffee:  saveAs: saveAs
src/bootstrap-elm.coffee:      FileIO.saveAs new Blob([html], {type: contentType}), filename

I'm very backed up and won't get to this anytime soon, but looks like the problem is related to FileSaver.js not exporting the saveAs function if anyone wants to make a pull request. :smiley:

rtfeldman avatar Sep 03 '15 20:09 rtfeldman

I might try that just to learn how to do all those things. Thanks for the clue.

On 3 September 2015 at 21:50, Richard Feldman [email protected] wrote:

Nah - this is definitely a JS error. :)

$ git grep saveAs src/FileIO.coffee:saveAs = require "FileSaver.js" src/FileIO.coffee: saveAs: saveAs src/bootstrap-elm.coffee: FileIO.saveAs new Blob([html], {type: contentType}), filename

I'm very backed up and won't get to this anytime soon, but looks like the problem is related to FileSaver.js not exporting the saveAs function if anyone wants to make a pull request. [image: :smiley:]

— Reply to this email directly or view it on GitHub https://github.com/rtfeldman/dreamwriter/issues/49#issuecomment-137570551 .

davedawkins avatar Sep 04 '15 15:09 davedawkins