You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2015/03/19 16:18:09 UTC
cordova-plugin-globalization git commit: separate section in
plugin.xml and docs for Windows8 platform
Repository: cordova-plugin-globalization
Updated Branches:
refs/heads/master e268328fd -> 5feccc102
separate section in plugin.xml and docs for Windows8 platform
For consistency w/ other plugins and since we still support `cordova platform add windows8`
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/5feccc10
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/5feccc10
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/5feccc10
Branch: refs/heads/master
Commit: 5feccc1022e43218f433fd70a6cb77457e9e71f7
Parents: e268328
Author: sgrebnov <v-...@microsoft.com>
Authored: Thu Mar 19 18:18:01 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Thu Mar 19 18:18:01 2015 +0300
----------------------------------------------------------------------
README.md | 15 ++++++++++++++-
plugin.xml | 8 ++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/5feccc10/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 213a3ca..8ae4608 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,7 @@ error's expected code is `GlobalizationError.UNKNOWN_ERROR`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -149,6 +150,7 @@ error's expected code is `GlobalizationError.UNKNOWN_ERROR`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -216,6 +218,7 @@ The `options.selector` can be `date`, `time` or `date and time`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -306,6 +309,7 @@ error's expected code is `GlobalizationError.FORMATTING_ERROR`.
- Android
- BlackBerry 10
- iOS
+- Windows 8
- Windows
### Example
@@ -376,6 +380,7 @@ The value of `options.item` can be `months` or `days`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -453,6 +458,7 @@ time`.
- BlackBerry 10
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -526,6 +532,7 @@ error's expected code is `GlobalizationError.UNKNOWN_ERROR`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -592,6 +599,7 @@ The `options.type` can be `decimal`, `percent`, or `currency`.
- BlackBerry 10
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -668,6 +676,7 @@ executes. The error's expected code is `GlobalizationError.UNKNOWN_ERROR`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -714,6 +723,7 @@ The `options.type` can be 'decimal', 'percent', or 'currency'.
- BlackBerry 10
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -791,6 +801,7 @@ error's expected code is `GlobalizationError.PARSING_ERROR`.
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
- Browser
@@ -868,6 +879,7 @@ The `options.type` can be `decimal`, `percent`, or `currency`.
- BlackBerry 10
- iOS
- Windows Phone 8
+- Windows 8
- Windows
### Example
@@ -887,7 +899,7 @@ popup dialog with text similar to `number: 1234.56`:
- In case of `percent` type the returned value is not divided by 100.
### Windows Quirks
-
+
- The string must strictly conform to the locale format. For example, percent symbol should be
separated by space for 'en-US' locale if the type parameter is 'percent'.
@@ -918,6 +930,7 @@ This object is created and populated by Cordova, and returned to a callback in t
- Firefox OS
- iOS
- Windows Phone 8
+- Windows 8
- Windows
### Example
http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/5feccc10/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 94b6a98..1366f99 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -115,6 +115,14 @@
<source-file src="src/windows/GlobalizationProxy/GlobalizationProxy/Globalization/GlobalizationImpl.cs" />
</platform>
+ <!-- windows8 -->
+ <platform name="windows8">
+ <js-module src="src/windows/GlobalizationProxy.js" name="GlobalizationProxy">
+ <runs/>
+ </js-module>
+ <framework src="src/Windows/GlobalizationProxy.winmd" custom="true"/>
+ </platform>
+
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/GlobalizationProxy.js" name="GlobalizationProxy">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org