zurb / foundation-apps

The first front-end framework created for developing fully responsive web apps.
http://foundation.zurb.com/apps
MIT License
1.58k stars 216 forks source link

Contradictory/Misleading Information In Docs #764

Open HughxDev opened 8 years ago

HughxDev commented 8 years ago

In the Setup > Compatibility section, there is a list of various browsers with which Foundation for Apps is compatible.

However, in the Angular > Overview section, it says:

Note that Foundation for Apps cannot be run directly through the browser because it uses XMLHttpRequests to load up templates/partials for directives and pages. Running it directly will cause cross origin issues and will not work with linking.

This is confusing to me. The former section says that Foundation for Apps works in a variety of desktop and mobile environments, and even lists which ones, yet the latter section implies that it's only intended for authoring hybrid mobile apps.

Also, isn't CORS a well-covered issue in Angular development? I fail to see how cross-origin restrictions would impede developers from creating an app that works directly in the browser. If there is something Foundation is specifically doing that makes that somehow difficult, it would be helpful for the docs to go into more detail about that.