Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

capital Cordova changed (compatiblity) #938

Closed
wants to merge 1 commit into from

2 participants

@tillz

In Cordova 2.2.0 this is needed to work.
Copied from TwitterPlugin.

@tillz tillz capital Cordova changed (compatiblity)
In Cordova 2.2.0 this is needed to work.
Copied from TwitterPlugin.
054cd2a
@shazron
Owner

This repo has been deprecated and will not be actively maintained - no pull requests nor any other issues will be worked on. The previous source currently exists in the DEPRECATED branch, and may be removed at a future date.
Migration path, see: https://github.com/phonegap/phonegap-plugins/blob/master/README.md

@shazron shazron closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2012
  1. @tillz

    capital Cordova changed (compatiblity)

    tillz authored
    In Cordova 2.2.0 this is needed to work.
    Copied from TwitterPlugin.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +4 −2 iOS/SMSComposer/SMSComposer.js
View
6 iOS/SMSComposer/SMSComposer.js
@@ -42,8 +42,10 @@ SMSComposer.prototype._didFinishWithResult = function(res)
this.resultCallback(res);
}
-Cordova.addConstructor(function() {
-
+cordova.addConstructor(function() {
+ if (!window.Cordova) {
+ window.Cordova = cordova;
+ };
if(!window.plugins) {
window.plugins = {};
}
Something went wrong with that request. Please try again.