ChildBrowser icon indicating copy to clipboard operation
ChildBrowser copied to clipboard

TypeError: gap is undefined

Open sw360cab opened this issue 12 years ago • 3 comments

Not sure if this is an issue but on cordova 2.0 when listing in head section

sw360cab avatar Aug 09 '12 12:08 sw360cab

both window.Cordova and window.PhoneGap seem to be empty objs

sw360cab avatar Aug 09 '12 12:08 sw360cab

Was there a resolution?

dyardyGIT avatar Sep 04 '13 20:09 dyardyGIT

I guess that the following definition solved the issue:

var ChildBrowser = (function (gap) { .... })(window.cordova || window.Cordova || window.PhoneGap)

sw360cab avatar Sep 04 '13 20:09 sw360cab