Draggable / formeo

Drag & Drop Form Builder
http://draggable.github.io/formeo/
MIT License
533 stars 196 forks source link

This library is not compatible to use in salesforce #106

Open gangparia opened 6 years ago

gangparia commented 6 years ago

Hi Kevin, Salesforce have launched a new framework called lightning framework and this library doesn't work with lightning framework.

There are some variable which being used without declaring them .

kevinchappell commented 6 years ago

I've started working on the library again. Can you provide more details?

gangparia commented 6 years ago

Yes sure. There are few links you can check if that help you:

1) https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_strict_mode.htm 2) https://developer.salesforce.com/blogs/developer-relations/2017/02/lockerservice-lightning-container-third-party-libraries-lightning-components.html

One issue I noticed is with regeneratorRuntime.mark I don't see you have defined this variable regeneratorRuntime in your library and also the value of regeneratorRuntime was null.

kevinchappell commented 6 years ago

Thanks for the info. The need for regeneratorRuntime has been removed and the fix will be in the next release.