incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [1/4] git commit: cleanup in ios-specific notification
Date Fri, 16 Mar 2012 23:34:34 GMT
Updated Branches:
  refs/heads/master 5659d9398 -> 3ac086e32


cleanup in ios-specific notification


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/3ac086e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/3ac086e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/3ac086e3

Branch: refs/heads/master
Commit: 3ac086e32ad74854a93efcc07b776ecaf0d1a2c3
Parents: 7bd3497
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri Mar 16 16:32:07 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri Mar 16 16:32:07 2012 -0700

----------------------------------------------------------------------
 lib/plugin/ios/notification.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3ac086e3/lib/plugin/ios/notification.js
----------------------------------------------------------------------
diff --git a/lib/plugin/ios/notification.js b/lib/plugin/ios/notification.js
index dba83e2..a49567d 100644
--- a/lib/plugin/ios/notification.js
+++ b/lib/plugin/ios/notification.js
@@ -1,7 +1,7 @@
-var Media = require('cordova/Media');
+var Media = require('cordova/plugin/Media');
 
 module.exports = {
-	beep:function(count) {
-        new Media('beep.wav').play();
+    beep:function(count) {
+        (new Media('beep.wav')).play();
     }
-}
\ No newline at end of file
+}


Mime
View raw message