mikeric / rivets

Lightweight and powerful data binding.

Home Page:http://rivetsjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on mobile

jcrosby10 opened this issue · comments

I have a webapp that I am converting to a mobile app using Cordova. The only thing I can't seem to get working is rivets. I have tried on an Android device, iOS device and in a browser on my computer and all I see throughout the pages are {} containing pointers to the data we want to show but not the actual data. I'm not sure if I'm missing some configuration or dependency or if rivets is knows to not work on mobile? As far as I know there aren't any. Anyone have an idea on what I may be missing or what may be causing this?

The webapp is run through electron to create a desktop app that run on a Windows PC and that desktop app works without any issues.

Turns out that the issue was the code that actually bundled the data to the UI and some of the data itself was not included in the browserify bundle. Once I added those js files to the bundle it worked like a charm. I'll close this issue.