cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject docs commit: CB-11806 - Don't need to escape < > in XML attributes
Date Wed, 14 Sep 2016 08:38:11 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master f99be3c3b -> 7ee4375e7


CB-11806 - Don't need to escape < > in XML attributes


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/7ee4375e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/7ee4375e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/7ee4375e

Branch: refs/heads/master
Commit: 7ee4375e75a999197059c04bfb5c42672657b9ba
Parents: f99be3c
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Sep 14 01:38:03 2016 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Sep 14 01:38:03 2016 -0700

----------------------------------------------------------------------
 www/docs/en/dev/plugin_ref/spec.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7ee4375e/www/docs/en/dev/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/plugin_ref/spec.md b/www/docs/en/dev/plugin_ref/spec.md
index 8412660..5bb6ad2 100644
--- a/www/docs/en/dev/plugin_ref/spec.md
+++ b/www/docs/en/dev/plugin_ref/spec.md
@@ -70,16 +70,16 @@ Examples:
 Engine elements may also specify fuzzy matches using '>', '>=' etc. to avoid repetition,
and to reduce maintenance when the underlying platform is updated.
 ```xml
 <engines>
-  <engine name="cordova-android" version="&gt;=1.8.0" />
+  <engine name="cordova-android" version=">=1.8.0" />
 </engines>
 ```
 
 The `<engine>` tags also has default support for all of the main platforms Cordova
exists on. Specifying the cordova engine tag means that all versions of Cordova on any platform
must satisfy the engine version attribute. You may also list specific platforms and their
versions in order to override the catch-all cordova engine:
 ```xml
 <engines>
-  <engine name="cordova" version="&gt;=1.7.0" />
-  <engine name="cordova-android" version="&gt;=1.8.0" />
-  <engine name="cordova-ios" version="&gt;=1.7.1" />
+  <engine name="cordova" version=">=1.7.0" />
+  <engine name="cordova-android" version=">=1.8.0" />
+  <engine name="cordova-ios" version=">=1.7.1" />
 </engines>
 ```
 
@@ -87,8 +87,8 @@ Custom frameworks example:
 ```xml
 <engines>
   <engine name="my_custom_framework" version="1.0.0" platform="android" scriptSrc="path_to_my_custom_framework_version"/>
-  <engine name="another_framework" version="&gt;0.2.0" platform="ios|android" scriptSrc="path_to_another_framework_version"/>
-  <engine name="even_more_framework" version="&gt;=2.2.0" platform="*" scriptSrc="path_to_even_more_framework_version"/>
+  <engine name="another_framework" version=">0.2.0" platform="ios|android" scriptSrc="path_to_another_framework_version"/>
+  <engine name="even_more_framework" version=">=2.2.0" platform="*" scriptSrc="path_to_even_more_framework_version"/>
 </engines>
 ```
 
@@ -359,7 +359,7 @@ For windows-specific attributes:
     <Capability Name="picturesLibrary" />
     <DeviceCapability Name="webcam" />
 </config-file>
-<config-file target="package.appxmanifest" parent="/Package/Capabilities" versions="&gt;=8.1.0"
device-target="phone">
+<config-file target="package.appxmanifest" parent="/Package/Capabilities" versions=">=8.1.0"
device-target="phone">
     <DeviceCapability Name="webcam" />
 </config-file>
 ```
@@ -500,7 +500,7 @@ Examples:
 For Windows:
 ```xml
 <lib-file src="Microsoft.WinJS.2.0, Version=1.0" arch="x86" />
-<lib-file src="Microsoft.WinJS.2.0, Version=1.0" versions="&gt;=8.1" />
+<lib-file src="Microsoft.WinJS.2.0, Version=1.0" versions=">=8.1" />
 <lib-file src="Microsoft.WinJS.2.0, Version=1.0" target="phone" />
 <lib-file src="Microsoft.WinJS.2.0, Version=1.0" target="win" versions="8.0" arch="x86"
/>
 ```
@@ -553,7 +553,7 @@ On Windows, using `custom='true'` and `type='projectReference'` will add
a refer
 Examples of using these Windows specific attributes:
 ```xml
 <framework src="src/windows/example.dll" arch="x64" />
-<framework src="src/windows/example.dll" versions="&gt;=8.0" />
+<framework src="src/windows/example.dll" versions=">=8.0" />
 <framework src="src/windows/example.vcxproj" type="projectReference" target="win" />
 <framework src="src/windows/example.vcxproj" type="projectReference" target="all" versions="8.1"
arch="x86" />
 <framework src="src/windows/example.dll" target-dir="bin/x64" arch="x64" custom="true"/>


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


Mime
View raw message