Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Wrapping your Plugin's JavaScript

shazron edited this page Aug 13, 2012 · 6 revisions
// ///////////////////
(function(gap){
// ///////////////////

// YOUR CODE HERE! 
// NOTE: Replace any PhoneGap, Cordova or cordova references with "gap" variable above

// ///////////////////
})(window.PhoneGap || window.Cordova || window.cordova);
// ///////////////////
Clone this wiki locally