From 141cba179a0bf515b10265c52b902011b375c90e Mon Sep 17 00:00:00 2001 From: KuoKongQingYun <609898048@qq.com> Date: Tue, 6 Jan 2015 16:33:12 +0800 Subject: [PATCH] release1 release1 --- FlashAndShare.xdk | 12 ++++++------ www/js/index_user_scripts.js | 2 +- www/js/taking_photo_event_handlers.js | 5 ----- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/FlashAndShare.xdk b/FlashAndShare.xdk index b726c3e..738baf6 100644 --- a/FlashAndShare.xdk +++ b/FlashAndShare.xdk @@ -6,7 +6,7 @@ "projectTypeName": "com.intel.xdk.projecttype.jsapp", "src": "appDesigner", "projectGuid": "ed855410-8d0d-4ef1-b3ff-d3c4e4de0b3a", - "lastModifiedDate": 1420430356610, + "lastModifiedDate": 1420532924468, "creationDate": 1420291580458 }, "XDK-app-designer": "true", @@ -82,7 +82,7 @@ "excludedLibraries_": "", "cordovaCLIVersion_": "3.5", "crosswalkVersion_": "stable", - "appVersion_": "0.0.1", + "appVersion_": "1.0.0", "appDescription_": "Take photo and share!", "appAuthor_": "何婷", "appVersionCode_": "1" @@ -98,7 +98,7 @@ }, "isActive_": true, "appName_": "FlashAndShare", - "appID_": "xdk.intel.ad.template", + "appID_": "cn.linzhihao.flashandshare.flashandshare", "appAccess_": "*", "icons_": [], "splashes_": [], @@ -107,9 +107,9 @@ "excludedLibraries_": "", "cordovaCLIVersion_": "3.5", "crosswalkVersion_": "stable", - "appVersion_": "0.0.1", - "appDescription_": "Template to develop a cross-platform mobile app using the App Designer UI editor.", - "appAuthor_": "", + "appVersion_": "1.0.0", + "appDescription_": "Take photo and share!", + "appAuthor_": "何婷", "appVersionCode_": "1" }, "iOS": { diff --git a/www/js/index_user_scripts.js b/www/js/index_user_scripts.js index 978584f..b78f131 100644 --- a/www/js/index_user_scripts.js +++ b/www/js/index_user_scripts.js @@ -18,7 +18,7 @@ /* button 复制到剪切板 */ $(document).on("click", ".uib_w_6", function(evt) { - intel.xdk.device.copyToClipboard($["#URL"].html()); + intel.xdk.device.copyToClipboard($("#URL").html()); alert("已复制到剪切板"); /* your code goes here */ }); diff --git a/www/js/taking_photo_event_handlers.js b/www/js/taking_photo_event_handlers.js index 7abee50..0d5dbfe 100644 --- a/www/js/taking_photo_event_handlers.js +++ b/www/js/taking_photo_event_handlers.js @@ -2,14 +2,9 @@ "use strict"; function upload_success(r) { $("#URL").html(r.response); - console.log("Code = " + r.responseCode); - console.log("Response = " + r.response); - console.log("Sent = " + r.bytesSent); } function upload_fail(error) { alert("An error has occurred: Code = " + error.code); - console.log("upload error source " + error.source); - console.log("upload error target " + error.target); } function onTakingPhoto(event) {