Skip to content

Commit

Permalink
PhoneGap -> Cordova, whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
mschulkind committed Mar 21, 2012
1 parent 33a65ba commit 0e7c23d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CoffeeScripts/facebook_plugin.coffee
Expand Up @@ -2,9 +2,9 @@ TN.Facebook = class Facebook
PLUGIN_ID = 'cordovatruenative.facebook'

constructor: (options) ->
PhoneGap.exec(null, null , PLUGIN_ID, 'setup', [appID: options?.appID])
Cordova.exec(null, null , PLUGIN_ID, 'setup', [appID: options?.appID])

login: (permissions, onSuccess, onFail) ->
PhoneGap.exec(
Cordava.exec(
onSuccess, onFail, PLUGIN_ID, 'login',
[{permissions: permissions}])
2 changes: 1 addition & 1 deletion CoffeeScripts/file_plugin.coffee
Expand Up @@ -2,4 +2,4 @@ pluginID = 'cordovatruenative.file'

TN.File =
read: (filename, handler) ->
PhoneGap.exec(handler, null, pluginID, 'read', [filename: filename])
Cordova.exec(handler, null, pluginID, 'read', [filename: filename])

0 comments on commit 0e7c23d

Please sign in to comment.