Skip to content

Commit

Permalink
Preparing to tag 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
infil00p committed Feb 26, 2013
1 parent 5462edd commit fb1455a
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.0rc1
2.5.0
2 changes: 1 addition & 1 deletion bin/templates/project/assets/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>Apache Cordova</h1>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="cordova-2.5.0rc1.js"></script>
<script type="text/javascript" src="cordova-2.5.0.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
Expand Down
26 changes: 23 additions & 3 deletions framework/assets/js/cordova.android.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Platform: android

// commit 521bbd64ed729ca76b6646d25bb01b76ee8a54b5
// commit f50d20a87431c79a54572263729461883f611a53

// File generated at :: Wed Feb 20 2013 13:49:25 GMT-0800 (PST)
// File generated at :: Tue Feb 26 2013 13:37:51 GMT-0800 (PST)

/*
Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -1167,7 +1167,8 @@ define("cordova/plugin/Camera", function(require, exports, module) {

var argscheck = require('cordova/argscheck'),
exec = require('cordova/exec'),
Camera = require('cordova/plugin/CameraConstants');
Camera = require('cordova/plugin/CameraConstants'),
CameraPopoverHandle = require('cordova/plugin/CameraPopoverHandle');

var cameraExport = {};

Expand Down Expand Up @@ -1207,6 +1208,7 @@ cameraExport.getPicture = function(successCallback, errorCallback, options) {
mediaType, allowEdit, correctOrientation, saveToPhotoAlbum, popoverOptions];

exec(successCallback, errorCallback, "Camera", "takePicture", args);
return new CameraPopoverHandle();
};

cameraExport.cleanup = function(successCallback, errorCallback) {
Expand Down Expand Up @@ -1251,6 +1253,24 @@ module.exports = {

});

// file: lib/common/plugin/CameraPopoverHandle.js
define("cordova/plugin/CameraPopoverHandle", function(require, exports, module) {

var exec = require('cordova/exec');

/**
* A handle to an image picker popover.
*/
var CameraPopoverHandle = function() {
this.setPosition = function(popoverOptions) {
console.log('CameraPopoverHandle.setPosition is only supported on iOS.');
};
};

module.exports = CameraPopoverHandle;

});

// file: lib/common/plugin/CameraPopoverOptions.js
define("cordova/plugin/CameraPopoverOptions", function(require, exports, module) {

Expand Down
2 changes: 1 addition & 1 deletion framework/assets/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="cordova-2.5.0rc1.js"></script>
<script src="cordova-2.5.0.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion framework/src/org/apache/cordova/Device.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Licensed to the Apache Software Foundation (ASF) under one
public class Device extends CordovaPlugin {
public static final String TAG = "Device";

public static String cordovaVersion = "2.5.0rc1"; // Cordova version
public static String cordovaVersion = "2.5.0"; // Cordova version
public static String platform = "Android"; // Device OS
public static String uuid; // Device UUID

Expand Down

0 comments on commit fb1455a

Please sign in to comment.