LockerProject/Locker — Issue #686: No more js/config.js for developing from file://
Author: smurthas
Created: 2012-02-02 04:15:43+00:00
State: open

More often than not, this results in an API getting checked into someone's repo. There are lots of options here.

My thought, a simple JS library that just wraped jquery's getJSON method if run from within a locker, or creates a hidden iframe loaded from the locker and uses postMessage to do ajax from within the iframe, avoiding the cross origin stuff altogether.