incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject git commit: CB-321: Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created
Date Fri, 30 Mar 2012 19:26:38 GMT
Updated Branches:
  refs/heads/master c076f59d3 -> e49628efb


CB-321: Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj
created


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/e49628ef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/e49628ef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/e49628ef

Branch: refs/heads/master
Commit: e49628efb68becec2d693221676a024e0ba0d780
Parents: c076f59
Author: macdonst <simon.macdonald@gmail.com>
Authored: Fri Mar 30 15:26:04 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Fri Mar 30 15:26:04 2012 -0400

----------------------------------------------------------------------
 lib/common/plugin/Media.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/e49628ef/lib/common/plugin/Media.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/Media.js b/lib/common/plugin/Media.js
index 477ce06..d5f44fa 100644
--- a/lib/common/plugin/Media.js
+++ b/lib/common/plugin/Media.js
@@ -69,7 +69,7 @@ Media.get = function(id) {
  * Start or resume playing audio file.
  */
 Media.prototype.play = function(options) {
-    exec(this.successCallback, this.errorCallback, "Media", "startPlayingAudio", [this.id,
this.src, options]);
+    exec(null, null, "Media", "startPlayingAudio", [this.id, this.src, options]);
 };
 
 /**


Mime
View raw message