You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/03/03 00:26:07 UTC

[1/6] cordova-plugin-device-motion git commit: CB-12519 Updated version and RELEASENOTES.md for release 1.2.4

Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/1.2.x a6caad621 -> b8634afa4


CB-12519 Updated version and RELEASENOTES.md for release 1.2.4


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/b8634afa
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/b8634afa
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/b8634afa

Branch: refs/heads/1.2.x
Commit: b8634afa45dbff16b6bd2babd23311e949ac3b0d
Parents: 72bbb2a
Author: Steve Gill <st...@gmail.com>
Authored: Tue Feb 28 17:41:26 2017 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 RELEASENOTES.md  |  6 ++++++
 package.json     |  2 +-
 plugin.xml       | 28 ++++++++++++++--------------
 tests/plugin.xml |  2 +-
 4 files changed, 22 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b8634afa/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 4d61ae6..9c29a80 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -20,6 +20,12 @@
 -->
 # Release Notes
 
+### 1.2.4 (Feb 28, 2017)
+* [CB-12353](https://issues.apache.org/jira/browse/CB-12353) Corrected merges usage in `plugin.xml`
+* [CB-12369](https://issues.apache.org/jira/browse/CB-12369) Add plugin typings from `DefinitelyTyped`
+* [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS 9.3** and **iOS 10.0**
+* [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed **Windows 8.1** build badges
+
 ### 1.2.3 (Dec 07, 2016)
 * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md for release 1.2.3
 * [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submitted\u2026"

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b8634afa/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 946da3d..2ea04d6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-device-motion",
-  "version": "1.2.4-dev",
+  "version": "1.2.4",
   "description": "Cordova Device Motion Plugin",
   "types": "./types/index.d.ts",
   "cordova": {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b8634afa/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index ea1ba04..1f9125f 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,8 +20,8 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
            id="cordova-plugin-device-motion"
-      version="1.2.4-dev">
-	
+      version="1.2.4">
+
     <name>Device Motion</name>
     <description>Cordova Device Motion Plugin</description>
     <license>Apache 2.0</license>
@@ -32,7 +32,7 @@
     <js-module src="www/Acceleration.js" name="Acceleration">
         <clobbers target="Acceleration" />
     </js-module>
-    
+
     <js-module src="www/accelerometer.js" name="accelerometer">
         <clobbers target="navigator.accelerometer" />
     </js-module>
@@ -43,8 +43,8 @@
             <feature name="Accelerometer">
                 <param name="firefoxos-package" value="Accelerometer" />
             </feature>
-        </config-file>                                         
-        
+        </config-file>
+
         <js-module src="src/firefoxos/accelerometer.js" name="accelerometer-impl">
           <runs />
         </js-module>
@@ -52,7 +52,7 @@
 
     <!-- android -->
     <platform name="android">
-	    
+
         <config-file target="res/xml/config.xml" parent="/*">
             <feature name="Accelerometer">
                 <param name="android-package" value="org.apache.cordova.devicemotion.AccelListener"/>
@@ -60,12 +60,12 @@
         </config-file>
 
         <source-file src="src/android/AccelListener.java" target-dir="src/org/apache/cordova/devicemotion" />
-    
+
     </platform>
-    
+
     <!-- amazon-fireos -->
     <platform name="amazon-fireos">
-	    
+
         <config-file target="res/xml/config.xml" parent="/*">
             <feature name="Accelerometer">
                 <param name="android-package" value="org.apache.cordova.devicemotion.AccelListener"/>
@@ -73,9 +73,9 @@
         </config-file>
 
         <source-file src="src/android/AccelListener.java" target-dir="src/org/apache/cordova/devicemotion" />
-    
+
     </platform>
-    
+
     <!-- ubuntu -->
     <platform name="ubuntu">
         <header-file src="src/ubuntu/accelerometer.h" />
@@ -84,16 +84,16 @@
 
     <!-- ios -->
     <platform name="ios">
-        
+
         <config-file target="config.xml" parent="/*">
             <feature name="Accelerometer">
                 <param name="ios-package" value="CDVAccelerometer"/>
             </feature>
         </config-file>
-            
+
         <header-file src="src/ios/CDVAccelerometer.h" />
         <source-file src="src/ios/CDVAccelerometer.m" />
-        
+
         <framework src="CoreMotion.framework" />
     </platform>
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b8634afa/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index cfb238a..d9bfbc9 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     id="cordova-plugin-device-motion-tests"
-    version="1.2.4-dev">
+    version="1.2.4">
     <name>Cordova Device Motion Plugin Tests</name>
     <license>Apache 2.0</license>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[3/6] cordova-plugin-device-motion git commit: CB-12224 Incremented plugin version.

Posted by st...@apache.org.
CB-12224 Incremented plugin version.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/b4bdecef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/b4bdecef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/b4bdecef

Branch: refs/heads/1.2.x
Commit: b4bdecef584e95a7edc8a58cf5bff5051e64f2cc
Parents: a6caad6
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Dec 7 16:55:07 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 package.json     | 2 +-
 plugin.xml       | 2 +-
 tests/plugin.xml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b4bdecef/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 851f2e0..c569cea 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-device-motion",
-  "version": "1.2.3",
+  "version": "1.2.4-dev",
   "description": "Cordova Device Motion Plugin",
   "cordova": {
     "id": "cordova-plugin-device-motion",

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b4bdecef/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 2378d23..36d1d2d 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
            id="cordova-plugin-device-motion"
-      version="1.2.3">
+      version="1.2.4-dev">
 	
     <name>Device Motion</name>
     <description>Cordova Device Motion Plugin</description>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/b4bdecef/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index 54efe2a..cfb238a 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     id="cordova-plugin-device-motion-tests"
-    version="1.2.3">
+    version="1.2.4-dev">
     <name>Cordova Device Motion Plugin Tests</name>
     <license>Apache 2.0</license>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[6/6] cordova-plugin-device-motion git commit: CB-12363 Added build badges for iOS 9.3 and 10.0

Posted by st...@apache.org.
CB-12363 Added build badges for iOS 9.3 and 10.0


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/8e44d34b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/8e44d34b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/8e44d34b

Branch: refs/heads/1.2.x
Commit: 8e44d34b89537118883cf96d3384213f55c75358
Parents: 6a09d66
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Wed Jan 18 13:28:54 2017 +0300
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/8e44d34b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 48453cc..5352a68 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ description: Access accelerometer data.
 #         under the License.
 -->
 
-|Android 4.4|Android 5.1|iOS|Windows 10 Store|Travis CI|
-|:-:|:-:|:-:|:-:|:-:|
-|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci
 .cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-device-motion)|
+|Android 4.4|Android 5.1|iOS 9.3|iOS 10.0|Windows 10 Store|Travis CI|
+|:-:|:-:|:-:|:-:|:-:|:-:|
+|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=ios-9.3,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=ios-9.3,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=ios-10.0,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci
 .cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=ios-10.0,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-device-motion)|
 
 # cordova-plugin-device-motion
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[5/6] cordova-plugin-device-motion git commit: CB-12353 Corrected merges usage in plugin.xml

Posted by st...@apache.org.
CB-12353 Corrected merges usage in plugin.xml


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/72bbb2ab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/72bbb2ab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/72bbb2ab

Branch: refs/heads/1.2.x
Commit: 72bbb2ab1d5cd9f8c1253c8172b3a6c64c66fb9b
Parents: df3002e
Author: daserge <v-...@microsoft.com>
Authored: Wed Jan 18 19:21:55 2017 +0300
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 plugin.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/72bbb2ab/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 36d1d2d..ea1ba04 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -138,14 +138,14 @@
     <!-- windows8 -->
     <platform name="windows8">
         <js-module src="src/windows/AccelerometerProxy.js" name="AccelerometerProxy">
-            <merges target="" />
+            <runs />
         </js-module>
     </platform>
 
     <!-- windows -->
     <platform name="windows">
         <js-module src="src/windows/AccelerometerProxy.js" name="AccelerometerProxy">
-            <merges target="" />
+            <runs />
         </js-module>
     </platform>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[4/6] cordova-plugin-device-motion git commit: CB-12230 Removed Windows 8.1 build badges

Posted by st...@apache.org.
CB-12230 Removed Windows 8.1 build badges


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/6a09d663
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/6a09d663
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/6a09d663

Branch: refs/heads/1.2.x
Commit: 6a09d6631b7d0809c9da089b79bab5796c943aa6
Parents: b4bdece
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Fri Dec 9 13:11:37 2016 +0300
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/6a09d663/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 2d82667..48453cc 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ description: Access accelerometer data.
 #         under the License.
 -->
 
-|Android|iOS| Windows 8.1 Store | Windows 8.1 Phone | Windows 10 Store | Travis CI |
-|:-:|:-:|:-:|:-:|:-:|:-:|
-|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-8.1-store,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-8.1-store,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-8.1-phone,PLUGIN=cordova-plugin-device-motion)](http://cordo
 va-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-8.1-phone,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-device-motion)|
+|Android 4.4|Android 5.1|iOS|Windows 10 Store|Travis CI|
+|:-:|:-:|:-:|:-:|:-:|
+|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-4.4,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=android-5.1,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=ios,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](http://cordova-ci.cloudapp.net:8080/buildStatus/icon?job=cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion)](http://cordova-ci
 .cloudapp.net:8080/job/cordova-periodic-build/PLATFORM=windows-10-store,PLUGIN=cordova-plugin-device-motion/)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-device-motion)|
 
 # cordova-plugin-device-motion
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/6] cordova-plugin-device-motion git commit: CB-12369: Add plugin typings from DefinitelyTyped

Posted by st...@apache.org.
CB-12369: Add plugin typings from DefinitelyTyped

 This closes #50


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/df3002e5
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/df3002e5
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/df3002e5

Branch: refs/heads/1.2.x
Commit: df3002e55a5df343490c45c63b6d1e411da0b9e2
Parents: 8e44d34
Author: Nikita Matrosov <v-...@microsoft.com>
Authored: Thu Jan 19 15:54:13 2017 +0300
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 2 16:25:52 2017 -0800

----------------------------------------------------------------------
 package.json     |  1 +
 types/index.d.ts | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/df3002e5/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index c569cea..946da3d 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,7 @@
   "name": "cordova-plugin-device-motion",
   "version": "1.2.4-dev",
   "description": "Cordova Device Motion Plugin",
+  "types": "./types/index.d.ts",
   "cordova": {
     "id": "cordova-plugin-device-motion",
     "platforms": [

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/df3002e5/types/index.d.ts
----------------------------------------------------------------------
diff --git a/types/index.d.ts b/types/index.d.ts
new file mode 100644
index 0000000..ae38803
--- /dev/null
+++ b/types/index.d.ts
@@ -0,0 +1,77 @@
+// Type definitions for Apache Cordova Device Motion plugin
+// Project: https://github.com/apache/cordova-plugin-device-motion
+// Definitions by: Microsoft Open Technologies Inc <http://msopentech.com>
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// 
+// Copyright (c) Microsoft Open Technologies Inc
+// Licensed under the MIT license.
+
+interface Navigator {
+    /**
+     * This plugin provides access to the device's accelerometer. The accelerometer is a motion sensor
+     * that detects the change (delta) in movement relative to the current device orientation,
+     * in three dimensions along the x, y, and z axis.
+     */
+    accelerometer: Accelerometer;
+}
+
+/**
+ * This plugin provides access to the device's accelerometer. The accelerometer is a motion sensor
+ * that detects the change (delta) in movement relative to the current device orientation,
+ * in three dimensions along the x, y, and z axis.
+ */
+interface Accelerometer {
+    /**
+     * Stop watching the Acceleration referenced by the watchID parameter.
+     * @param watchID The ID returned by navigator.accelerometer.watchAcceleration.
+     */
+    clearWatch(watchID: WatchHandle): void;
+    /**
+     * Get the current acceleration along the x, y, and z axes.
+     * These acceleration values are returned to the accelerometerSuccess callback function.
+     * @param accelerometerSuccess Success callback that gets the Acceleration object.
+     * @param accelerometerError Success callback
+     */
+    getCurrentAcceleration(
+        accelerometerSuccess: (acceleration: Acceleration) => void,
+        accelerometerError: () => void): void;
+    /**
+     * Retrieves the device's current Acceleration at a regular interval, executing the
+     * accelerometerSuccess callback function each time. Specify the interval in milliseconds
+     * via the acceleratorOptions object's frequency parameter.
+     * The returned watch ID references the accelerometer's watch interval, and can be used
+     * with navigator.accelerometer.clearWatch to stop watching the accelerometer.
+     * @param  accelerometerSuccess Callback, that called at every time interval and passes an Acceleration object.
+     * @param  accelerometerError   Error callback.
+     * @param  accelerometerOptions Object with options for watchAcceleration
+     */
+    watchAcceleration(
+        accelerometerSuccess: (acceleration: Acceleration) => void,
+        accelerometerError: () => void,
+        accelerometerOptions?: AccelerometerOptions): WatchHandle;
+}
+
+/**
+ * Contains Accelerometer data captured at a specific point in time. Acceleration values include
+ * the effect of gravity (9.81 m/s^2), so that when a device lies flat and facing up, x, y, and z
+ * values returned should be 0, 0, and 9.81.
+ */
+interface Acceleration {
+    /** Amount of acceleration on the x-axis. (in m/s^2) */
+    x: number;
+    /** Amount of acceleration on the y-axis. (in m/s^2) */
+    y: number;
+    /** Amount of acceleration on the z-axis. (in m/s^2) */
+    z: number;
+    /** Creation timestamp in milliseconds. */
+    timestamp: number;
+}
+
+/** Object with options for watchAcceleration */
+interface AccelerometerOptions {
+    /** How often to retrieve the Acceleration in milliseconds. (Default: 10000) */
+    frequency?: number;
+}
+
+/** Abstract type for watch IDs used by Accelerometer. Values of these type are actually `number` at runtime.*/
+interface WatchHandle { }
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org