Skip to content

Broken on Firefox #75

@ghost

Description

FF: Mozilla Firefox 50.0
Svelte: svelte-cli version 1.0.2
Command: svelte compile --format iife HelloWorld.html > HelloWorld.js

Background

After seeing your project on Hacker News, I decided to give it a shot. I use Firefox on Arch Linux, and I was surprised when the "Hello world" demo didn't work. To test it wasn't just my system, I tried it on chromium, and it worked fine there. Are you not supporting Firefox? (it is definitely a "legacy" browser)

Error

The problem is in the generated HelloWorld.js. It is located in var HelloWorld -> function HelloWorld -> function dispatchObservers -> for ( const key in group ). The error message reads SyntaxError: missing = in const declaration.

I hope this is just some obvious issue on my half, and not a lack of Firefox support...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions