-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
We have two clients, the main one, and a staging version. For development we want to use the staging client, but the staging client has a hyphen in the name .e.g OurCompanyName-staging.
When the filestack initialisation js runs on the page load, it tries to create a variable
//<![CDATA[ var OurCompanyName-staging = filestack.init('ourApiKey', {"cname":null}); //]]>
Which fails because Javascript doesn't allow hyphens in variable names.
Do we have to change the name of our staging client?
Can the code please handle this case better?
Metadata
Metadata
Assignees
Labels
No labels