Page 1 of 1

Access file from javascript file syntax issue

Posted: Sat Jul 26, 2014 8:41 pm
by Bad Addy

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'.


Access file from javascript file syntax issue

Posted: Sat Jul 26, 2014 10:05 pm
by Alena Prykhodko

Hi,

What if you try without app_id, like

codefiles/views/assets/words//code