You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/14 22:14:05 UTC

[jira] [Commented] (CB-6997) Deprecate obsolete CDVPlugin methods

    [ https://issues.apache.org/jira/browse/CB-6997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061152#comment-14061152 ] 

ASF subversion and git services commented on CB-6997:
-----------------------------------------------------

Commit ee5a9a8ae406a092a604ea0b5db35621cbca9908 in cordova-ios's branch refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=ee5a9a8 ]

CB-6997 - Deprecate obsolete CDVPlugin methods


> Deprecate obsolete CDVPlugin methods
> ------------------------------------
>
>                 Key: CB-6997
>                 URL: https://issues.apache.org/jira/browse/CB-6997
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 3.6.0
>
>
> // Deprecate these in favour of using CDVCommandDelegate directly.
> // - (NSString*)writeJavascript:(NSString*)javascript;
> // - (NSString*)success:(CDVPluginResult*)pluginResult callbackId:(NSString*)callbackId;
> // - (NSString*)error:(CDVPluginResult*)pluginResult callbackId:(NSString*)callbackId;
> These are remnants of how older plugins used pluginResult and are not doc'ed anymore. Time to migrate people.



--
This message was sent by Atlassian JIRA
(v6.2#6252)