title: Phonegap - automatically including correct cordova
body: <p>I'm developing a phonegap app on both iOS and android and have my www directory version controlled with git. I know that my HTML file needs to include the correct Cordova.js file (depending on which platform I'm currently developing on).</p>
  
  <p>It is a little annoying pulling changes to www on iOS when someone was working on android. It gives me the endless gap_poll alert.</p>
  
  <p>Simple solution is to remember to change the Cordova.js src so it points to the iOS version again. The problem with that is the other developers will need to keep changing their src if the latest commit was done on another platform.</p>
  
  <p>Is there a way to automatically detect which version of Cordova to include? That way it would work on any platform and we wouldn't have to make tedious changes.</p>