Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B013E991E for ; Tue, 3 Apr 2012 22:38:43 +0000 (UTC) Received: (qmail 25836 invoked by uid 500); 3 Apr 2012 22:38:43 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 25802 invoked by uid 500); 3 Apr 2012 22:38:43 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 25793 invoked by uid 99); 3 Apr 2012 22:38:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 22:38:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 22:38:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4B390356189 for ; Tue, 3 Apr 2012 22:38:22 +0000 (UTC) Date: Tue, 3 Apr 2012 22:38:22 +0000 (UTC) From: "Shazron Abdullah (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <2053024639.9298.1333492702309.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <889876904.9039.1333490065262.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-435) CDVSound.m methods - convert use of "options" object into "arguments" array MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245842#comment-13245842 ] Shazron Abdullah commented on CB-435: ------------------------------------- This should still work - although Media.play accepts an options object in the common js [1] and it should be passed to Obj-C CDVSound.m's play method in the options dict, the "numberOfLoops" option [2] is undocumented. 1. https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/Media.js#L71 2. https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVSound.m#L182 > CDVSound.m methods - convert use of "options" object into "arguments" array > ---------------------------------------------------------------------------- > > Key: CB-435 > URL: https://issues.apache.org/jira/browse/CB-435 > Project: Apache Callback > Issue Type: Sub-task > Components: Docs, iOS > Reporter: Shazron Abdullah > Fix For: 1.6.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira