Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

JS error on import #333

Open
horus68 opened this issue Feb 16, 2015 · 0 comments
Open

JS error on import #333

horus68 opened this issue Feb 16, 2015 · 0 comments

Comments

@horus68
Copy link

horus68 commented Feb 16, 2015

Not able to upload any JS file from SuiteCRM software (a fork for SugarCRM) from:
https://github.com/salesagility/SuiteCRM/blob/master/mobile/fielddefs/modules_en_us.js
https://github.com/salesagility/SuiteCRM/blob/master/mobile/js/mobile_en_us.js
https://github.com/salesagility/SuiteCRM/blob/master/mobile/js/modules_en_us.js

Errors on both files when uploading to Transifex using web interface:

  • IF I choose file format .JS
    Error: "Could not locate the "define" function"
  • OR IF I choose file format .JSON or .RESJSON
    Error: "Your JSON file has a syntax error"

Can you make it work? Is there any error?
Code is syntatically valid at http://esprima.org/demo/validate.html

Software: SuiteCRM
https://github.com/salesagility/SuiteCRM
Files:
https://github.com/salesagility/SuiteCRM/blob/master/mobile/fielddefs/modules_en_us.js
https://github.com/salesagility/SuiteCRM/blob/master/mobile/js/mobile_en_us.js
https://github.com/salesagility/SuiteCRM/blob/master/mobile/js/modules_en_us.js

Note: Transifex projec: thttps://www.transifex.com/projects/p/suitecrm/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant