You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/04/28 02:27:55 UTC

[6/17] bada-wac commit: adding sample app

adding sample app


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

Branch: refs/heads/master
Commit: ce4a61b92842781f1081f98b8476db5b57ee310c
Parents: 4c75b44
Author: Anis Kadri <an...@gmail.com>
Authored: Fri Apr 27 17:16:28 2012 -0700
Committer: Anis Kadri <an...@gmail.com>
Committed: Fri Apr 27 17:16:28 2012 -0700

----------------------------------------------------------------------
 Res/js/sample.js |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac/blob/ce4a61b9/Res/js/sample.js
----------------------------------------------------------------------
diff --git a/Res/js/sample.js b/Res/js/sample.js
index 4b2a1aa..c20ee2e 100644
--- a/Res/js/sample.js
+++ b/Res/js/sample.js
@@ -1,4 +1,23 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
  * Device
  */
 
@@ -243,4 +262,4 @@ function captureImage() {
 	};
 	var options = { destinationFilename: "images/cam01.jpg", highRes: false};
 	navigator.capture.captureImage(success, fail, options);
-}
\ No newline at end of file
+}