mirror of
https://github.com/apache/cordova-android.git
synced 2026-01-30 00:05:28 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5b0157971 | ||
|
|
847b6fe7c9 | ||
|
|
133c2dc902 | ||
|
|
5592765f04 |
@@ -69,7 +69,8 @@ function copyJsAndJar(projectPath, version) {
|
||||
// Don't fail if there are no old jars.
|
||||
setShellFatal(false, function() {
|
||||
shell.ls(path.join(projectPath, 'libs', 'cordova-*.jar')).forEach(function(oldJar) {
|
||||
shell.rm('-f', path.join(projectPath, 'libs', oldJar));
|
||||
console.log("Deleting " + oldJar);
|
||||
shell.rm('-f', path.join(oldJar));
|
||||
});
|
||||
});
|
||||
shell.cp('-f', path.join(ROOT, 'framework', 'cordova-' + version + '.jar'), path.join(projectPath, 'libs', 'cordova-' + version + '.jar'));
|
||||
@@ -123,7 +124,7 @@ exports.createProject = function(project_path, package_name, project_name, proje
|
||||
project_template_dir :
|
||||
path.join(ROOT, 'bin', 'templates', 'project');
|
||||
|
||||
var safe_activity_name = project_name.replace(/\W/, '');
|
||||
var safe_activity_name = project_name.replace(/\W/g, '');
|
||||
var package_as_path = package_name.replace(/\./g, path.sep);
|
||||
var activity_dir = path.join(project_path, 'src', package_as_path);
|
||||
var activity_path = path.join(activity_dir, safe_activity_name + '.java');
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
*/
|
||||
|
||||
// Coho updates this line:
|
||||
var VERSION = "3.1.0-rc1";
|
||||
var VERSION = "3.1.0";
|
||||
|
||||
console.log(VERSION);
|
||||
|
||||
4
framework/assets/www/cordova.js
vendored
4
framework/assets/www/cordova.js
vendored
@@ -1,5 +1,5 @@
|
||||
// Platform: android
|
||||
// 3.1.0-rc1
|
||||
// 3.1.0
|
||||
/*
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
@@ -19,7 +19,7 @@
|
||||
under the License.
|
||||
*/
|
||||
;(function() {
|
||||
var CORDOVA_JS_BUILD_LABEL = '3.1.0-rc1';
|
||||
var CORDOVA_JS_BUILD_LABEL = '3.1.0';
|
||||
// file: lib/scripts/require.js
|
||||
|
||||
var require,
|
||||
|
||||
@@ -61,7 +61,7 @@ public class CordovaWebView extends WebView {
|
||||
|
||||
public static final String TAG = "CordovaWebView";
|
||||
|
||||
public static final String CORDOVA_VERSION = "3.1.0-rc1";
|
||||
public static final String CORDOVA_VERSION = "3.1.0";
|
||||
|
||||
private ArrayList<Integer> keyDownCodes = new ArrayList<Integer>();
|
||||
private ArrayList<Integer> keyUpCodes = new ArrayList<Integer>();
|
||||
|
||||
Reference in New Issue
Block a user