Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Access file from javascript file syntax issue

I have the below lay out, where I updated a folder and files which works in the browser when I put the full location, the:

preapp_id/files/views/assets/words//pre

Image

But when its in the app and .ipa file, it does not work. What would the syntax be to access the files in the folder 'words', from the javascript file 'pageCode.js'.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Access file from javascript file syntax issue

Hi,

What if you try without app_id, like

codefiles/views/assets/words//code

Return to “Issues”