Closed tonylukasavage closed 10 years ago
> .add pic.jpg undefined > var image = Ti.UI.createImageView({ image: Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'pic.jpg') }); undefined
would become
> .add pic.jpg undefined > var image = Ti.UI.createImageView({ image: $F('pic.jpg') }); undefined
or something similar.
Also, make sure to add a note to the .add resulting output to let developers know they need to wrap the files.
.add
would become
or something similar.