Author: audreyso
Date: Thu Nov 30 00:36:33 2017
New Revision: 1816665
URL: http://svn.apache.org/viewvc?rev=1816665&view=rev
Log:
Updated docs
Added:
cordova/site/public/news/2017/11/20/
cordova/site/public/news/2017/11/20/migrate-from-cordova-globalization-plugin.html
Modified:
cordova/site/public/blog/index.html
cordova/site/public/docs/en/dev/guide/support/index.html
cordova/site/public/docs/en/dev/reference/cordova-plugin-contacts/index.html
cordova/site/public/docs/en/dev/reference/cordova-plugin-legacy-whitelist/index.html
cordova/site/public/feed.xml
cordova/site/public/news/2017/11/10/plugins-release.html
cordova/site/public/sitemap.xml
cordova/site/public/static/css/lib/bootstrap.css
cordova/site/public/static/css/lib/bootstrap.min.css
cordova/site/public/static/css/lib/syntax.css
cordova/site/public/static/css/main.css
cordova/site/public/static/js/index.js
cordova/site/public/static/js/plugins.js
Modified: cordova/site/public/blog/index.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/blog/index.html?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/blog/index.html (original)
+++ cordova/site/public/blog/index.html Thu Nov 30 00:36:33 2017
@@ -124,6 +124,81 @@
<li>
<header>
+ <div class="adorner" blogTime="Mon, 20 Nov 2017 00:00:00
+0000"></div>
+ <h2 class="title">
+ <a
href="/news/2017/11/20/migrate-from-cordova-globalization-plugin.html">Migrating
from the Globalization Plugin</a>
+ </h2>
+ <div class="details">
+ <span class="date">20 Nov 2017</span>
+ - by
+ <span class="author">
+
+ <a
href="https://twitter.com/tweetsbymishra">Vishal Mishra</a>
+
+ </span>
+ <a class="comment"
href="/news/2017/11/20/migrate-from-cordova-globalization-plugin.html#disqus_thread"></a>
+ </div>
+ </header>
+ <section class="post-excerpt">
+ <p><h2>Migrating from the Cordova Globalization Plugin</h2>
+
+<p>The Cordova Globalization Plugin was created to obtain information and
perform operations based on a userâs locale, language and timezone when most
mobile platforms could not make a distinction between these settings. With the
new API arrivals in the browser, we can now use the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> for achieving this goal on iOS, Android, Windows
devices and desktop browsers. Hence, this cordova plugin is not needed any more
and will be sunset soon.</p>
+
+<h3>Migrating from the plugin to the Internationalization API</h3>
+
+<p>The cordova globalization plugin defines a global navigator.globalization
object which provides various methods to access a userâs locale, language and
timezone. To get the preferred language from the browser, the
navigator.globalization.getPreferredLanguage method was used as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">getPreferredLanguage</span><span class="p">(</span><span
class="kd">function</span> <span class="p">(</span><span
class="nx">language</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'language:
'</span> <span class="o">+</span> <span class="nx">language</span><span
class="p">.</span><span class="nx">value</span> <span class="o">+</span> <span
class="s1">'\n'</span><span class="p">);</span>
+<span class="p">},</span> <span class="kd">function</span> <span
class="p">()</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'Error getting
language\n'</span><span class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The current locale could be found out using:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">getLocaleName</span><span class="p">(</span><span
class="kd">function</span> <span class="p">(</span><span
class="nx">locale</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'locale: '</span>
<span class="o">+</span> <span class="nx">locale</span><span
class="p">.</span><span class="nx">value</span> <span class="o">+</span> <span
class="s1">'\n'</span><span class="p">);</span>
+<span class="p">},</span> <span class="kd">function</span> <span
class="p">()</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'Error getting
locale\n'</span><span class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The <a href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> provides the <code>Intl</code> object which
provides language sensitive string comparison, number formatting, and date and
time formatting.Â
+First we should check if the API is supported by the browser:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="k">if</span> <span class="p">(</span><span class="nb">window</span><span
class="p">.</span><span class="nx">Intl</span> <span
class="o">&&</span> <span class="k">typeof</span> <span
class="nb">window</span><span class="p">.</span><span class="nx">Intl</span>
<span class="o">===</span> <span class="s1">'object'</span><span
class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'API
available'</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>
+<p>The preferred language tag can be found out from the browser by using the
<code>navigator</code> object:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">language</span><span class="p">);</span>
+</code></pre></div>
+<p>The locale name can be found out using the
<code>Intl.getCanonicalLocales(locales)</code> method. <code>locales</code> is
a string value or an array of string values that has the language tag(s). The
locale name can then be obtained as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nx">Intl</span><span class="p">.</span><span
class="nx">getCanonicalLocales</span><span class="p">(</span><span
class="s1">'EN-US'</span><span class="p">);</span> <span class="c1">//
["en-US"]</span>
+<span class="nx">Intl</span><span class="p">.</span><span
class="nx">getCanonicalLocales</span><span class="p">([</span><span
class="s1">'EN-US'</span><span class="p">,</span> <span
class="s1">'Fr'</span><span class="p">]);</span> <span class="c1">// ["en-US",
"fr"]</span>
+</code></pre></div>
+<p>Another instance of migrating from the cordova globalization plugin can be
seen in this example: the navigator.globalization.dateToString method. This
method is used in the cordova plugin as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">dateToString</span><span class="p">(</span>
+ <span class="k">new</span> <span class="nb">Date</span><span
class="p">(),</span>
+ <span class="kd">function</span> <span class="p">(</span><span
class="nx">date</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">alert</span><span class="p">(</span><span
class="s1">'date: '</span> <span class="o">+</span> <span
class="nx">date</span><span class="p">.</span><span class="nx">value</span>
<span class="o">+</span> <span class="s1">'\n'</span><span class="p">);</span>
+ <span class="p">},</span>
+ <span class="kd">function</span> <span class="p">()</span> <span
class="p">{</span>
+ <span class="nx">alert</span><span class="p">(</span><span
class="s1">'Error getting dateString\n'</span><span class="p">);</span>
+ <span class="p">},</span>
+ <span class="p">{</span> <span class="na">formatLength</span><span
class="p">:</span> <span class="s1">'short'</span><span class="p">,</span>
<span class="na">selector</span><span class="p">:</span> <span
class="s1">'date'</span> <span class="p">}</span>
+<span class="p">);</span>
+</code></pre></div>
+<p>Similar results can be obtained using the Internationalization API by using
the following code:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="kd">var</span> <span class="nx">date</span> <span class="o">=</span>
<span class="k">new</span> <span class="nb">Date</span><span
class="p">();</span>
+<span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="k">new</span> <span
class="nx">Intl</span><span class="p">.</span><span
class="nx">DateTimeFormat</span><span class="p">().</span><span
class="nx">format</span><span class="p">(</span><span
class="nx">date</span><span class="p">));</span>
+</code></pre></div>
+<p><a
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl">Here</a>
is a good resource to find out more about various methods in the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a>.</p>
+
+<p>Your feedback is graciously accepted and appreciated!</p>
+</p>
+ <div><a
href="/news/2017/11/20/migrate-from-cordova-globalization-plugin.html">More...</a></div>
+ </section>
+ </li>
+
+ <li>
+ <header>
<div class="adorner" blogTime="Fri, 10 Nov 2017 00:00:00
+0000"></div>
<h2 class="title">
<a
href="/news/2017/11/10/plugins-release.html">Plugins Release</a>
@@ -6796,7 +6871,7 @@ window.twttr = (function(d, s, id) {
<script>
window.onload = function(){
setTimeout(function(){
- var lastPostTime = new Date("Fri, 10 Nov 2017 00:00:00
+0000").getTime();
+ var lastPostTime = new Date("Mon, 20 Nov 2017 00:00:00
+0000").getTime();
setCookie("visitTime", lastPostTime, 365);
}, 2000);
};
Modified: cordova/site/public/docs/en/dev/guide/support/index.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/support/index.html?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/guide/support/index.html (original)
+++ cordova/site/public/docs/en/dev/guide/support/index.html Thu Nov 30
00:36:33 2017
@@ -2802,17 +2802,6 @@ the core plugins, additional APIs are av
</tr>
<tr>
- <th><a
href="../../reference/cordova-plugin-contacts/">Contacts</a></th>
- <td data-col="android" class="y"></td>
- <td data-col="blackberry10" class="y"></td>
- <td data-col="ios" class="y"></td>
- <td data-col="osx" class="n"></td>
- <td data-col="ubuntu" class="p">desktop only</td>
- <td data-col="win8" class="p">partially</td>
- <td data-col="wp8" class="y"></td>
- </tr>
-
- <tr>
<th><a href="../../reference/cordova-plugin-device/">Device</a></th>
<td data-col="android" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -2846,17 +2835,6 @@ the core plugins, additional APIs are av
</tr>
<tr>
- <th><a href="../../reference/cordova-plugin-file-transfer/">File
Transfer</a></th>
- <td data-col="android" class="y"></td>
- <td data-col="blackberry10" class="y">Does not support onprogress nor
abort</td>
- <td data-col="ios" class="y"></td>
- <td data-col="osx" class="n"></td>
- <td data-col="ubuntu" class="n"></td>
- <td data-col="win8" class="y">Does not support onprogress nor
abort</td>
- <td data-col="wp8" class="y">Does not support onprogress nor
abort</td>
- </tr>
-
- <tr>
<th><a
href="../../reference/cordova-plugin-geolocation/">Geolocation</a></th>
<td data-col="android" class="y"></td>
<td data-col="blackberry10" class="y"></td>
Modified:
cordova/site/public/docs/en/dev/reference/cordova-plugin-contacts/index.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-contacts/index.html?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
---
cordova/site/public/docs/en/dev/reference/cordova-plugin-contacts/index.html
(original)
+++
cordova/site/public/docs/en/dev/reference/cordova-plugin-contacts/index.html
Thu Nov 30 00:36:33 2017
@@ -2777,6 +2777,10 @@ contact data. For more information, ple
<p>Report issues with this plugin on the <a
href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Contacts%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC">Apache
Cordova issue tracker</a></p>
+<h2>Deprecation Notice</h2>
+
+<p>This plugin is being deprecated. No more work will be done on this plugin
by the Cordova development community. You can continue to use this plugin and
it should work as-is in the future but any more arising issues will not be
fixed by the Cordova community.</p>
+
<h2>Installation</h2>
<p>This requires cordova 5.0+ ( current stable v1.0.0 )</p>
Modified:
cordova/site/public/docs/en/dev/reference/cordova-plugin-legacy-whitelist/index.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-legacy-whitelist/index.html?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
---
cordova/site/public/docs/en/dev/reference/cordova-plugin-legacy-whitelist/index.html
(original)
+++
cordova/site/public/docs/en/dev/reference/cordova-plugin-legacy-whitelist/index.html
Thu Nov 30 00:36:33 2017
@@ -2738,8 +2738,12 @@
<h1>cordova-plugin-legacy-whitelist</h1>
+<h2>Description</h2>
+
+<h3>Deprecation Notice</h3>
+
<p>This plugin implements the Cordova 3.6 Whitelist policy for Cordova 4.0.
-Please use cordova-plugin-whitelist instead, as it's more secure.</p>
+Please use <a
href="https://github.com/apache/cordova-plugin-whitelist">cordova-plugin-whitelist</a>
instead, as it's more secure.</p>
<p>Supported on:</p>
Modified: cordova/site/public/feed.xml
URL:
http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Thu Nov 30 00:36:33 2017
@@ -6,11 +6,79 @@
</description>
<link>https://cordova.apache.org/</link>
<atom:link href="https://cordova.apache.org/feed.xml" rel="self"
type="application/rss+xml"/>
- <pubDate>Wed, 15 Nov 2017 19:21:28 +0000</pubDate>
- <lastBuildDate>Wed, 15 Nov 2017 19:21:28 +0000</lastBuildDate>
+ <pubDate>Thu, 30 Nov 2017 00:16:58 +0000</pubDate>
+ <lastBuildDate>Thu, 30 Nov 2017 00:16:58 +0000</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
+ <title>Migrating from the Globalization Plugin</title>
+ <description><h2>Migrating from the Cordova Globalization
Plugin</h2>
+
+<p>The Cordova Globalization Plugin was created to obtain information
and perform operations based on a userâs locale, language and timezone when
most mobile platforms could not make a distinction between these settings. With
the new API arrivals in the browser, we can now use the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> for achieving this goal on iOS, Android,
Windows devices and desktop browsers. Hence, this cordova plugin is not needed
any more and will be sunset soon.</p>
+
+<h3>Migrating from the plugin to the Internationalization API</h3>
+
+<p>The cordova globalization plugin defines a global
navigator.globalization object which provides various methods to access a
userâs locale, language and timezone. To get the preferred language from the
browser, the navigator.globalization.getPreferredLanguage method was used as
shown below:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="nb">navigator</span><span
class="p">.</span><span
class="nx">globalization</span><span
class="p">.</span><span
class="nx">getPreferredLanguage</span><span
class="p">(</span><span
class="kd">function</span> <span
class="p">(</span><span
class="nx">language</span><span
class="p">)</span> <span
class="p">{</span>
+ <span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="s1">'language: '</span> <span
class="o">+</span> <span
class="nx">language</span><span
class="p">.</span><span
class="nx">value</span> <span
class="o">+</span> <span
class="s1">'\n'</span><span
class="p">);</span>
+<span class="p">},</span> <span
class="kd">function</span> <span
class="p">()</span> <span
class="p">{</span>
+ <span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="s1">'Error getting language\n'</span><span
class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The current locale could be found out using:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="nb">navigator</span><span
class="p">.</span><span
class="nx">globalization</span><span
class="p">.</span><span
class="nx">getLocaleName</span><span
class="p">(</span><span
class="kd">function</span> <span
class="p">(</span><span
class="nx">locale</span><span
class="p">)</span> <span
class="p">{</span>
+ <span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="s1">'locale: '</span> <span
class="o">+</span> <span
class="nx">locale</span><span
class="p">.</span><span
class="nx">value</span> <span
class="o">+</span> <span
class="s1">'\n'</span><span
class="p">);</span>
+<span class="p">},</span> <span
class="kd">function</span> <span
class="p">()</span> <span
class="p">{</span>
+ <span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="s1">'Error getting locale\n'</span><span
class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> provides the <code>Intl</code>
object which provides language sensitive string comparison, number formatting,
and date and time formatting.Â
+First we should check if the API is supported by the browser:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="k">if</span> <span
class="p">(</span><span
class="nb">window</span><span
class="p">.</span><span
class="nx">Intl</span> <span
class="o">&amp;&amp;</span> <span
class="k">typeof</span> <span
class="nb">window</span><span
class="p">.</span><span
class="nx">Intl</span> <span
class="o">===</span> <span
class="s1">'object'</span><span
class="p">)</span> <span
class="p">{</span>
+ <span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span class="s1">'API
available'</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>
+<p>The preferred language tag can be found out from the browser by using
the <code>navigator</code> object:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="nb">navigator</span><span
class="p">.</span><span
class="nx">language</span><span
class="p">);</span>
+</code></pre></div>
+<p>The locale name can be found out using the
<code>Intl.getCanonicalLocales(locales)</code> method.
<code>locales</code> is a string value or an array of string values
that has the language tag(s). The locale name can then be obtained as shown
below:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="nx">Intl</span><span
class="p">.</span><span
class="nx">getCanonicalLocales</span><span
class="p">(</span><span
class="s1">'EN-US'</span><span
class="p">);</span> <span class="c1">//
["en-US"]</span>
+<span class="nx">Intl</span><span
class="p">.</span><span
class="nx">getCanonicalLocales</span><span
class="p">([</span><span
class="s1">'EN-US'</span><span
class="p">,</span> <span
class="s1">'Fr'</span><span
class="p">]);</span> <span class="c1">//
["en-US", "fr"]</span>
+</code></pre></div>
+<p>Another instance of migrating from the cordova globalization plugin
can be seen in this example: the navigator.globalization.dateToString method.
This method is used in the cordova plugin as shown below:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="nb">navigator</span><span
class="p">.</span><span
class="nx">globalization</span><span
class="p">.</span><span
class="nx">dateToString</span><span
class="p">(</span>
+ <span class="k">new</span> <span
class="nb">Date</span><span
class="p">(),</span>
+ <span class="kd">function</span> <span
class="p">(</span><span
class="nx">date</span><span
class="p">)</span> <span
class="p">{</span>
+ <span class="nx">alert</span><span
class="p">(</span><span
class="s1">'date: '</span> <span
class="o">+</span> <span
class="nx">date</span><span
class="p">.</span><span
class="nx">value</span> <span
class="o">+</span> <span
class="s1">'\n'</span><span
class="p">);</span>
+ <span class="p">},</span>
+ <span class="kd">function</span> <span
class="p">()</span> <span
class="p">{</span>
+ <span class="nx">alert</span><span
class="p">(</span><span
class="s1">'Error getting
dateString\n'</span><span class="p">);</span>
+ <span class="p">},</span>
+ <span class="p">{</span> <span
class="na">formatLength</span><span
class="p">:</span> <span
class="s1">'short'</span><span
class="p">,</span> <span
class="na">selector</span><span
class="p">:</span> <span
class="s1">'date'</span> <span
class="p">}</span>
+<span class="p">);</span>
+</code></pre></div>
+<p>Similar results can be obtained using the Internationalization API by
using the following code:</p>
+<div class="highlight"><pre><code
class="language-js" data-lang="js"><span
class="kd">var</span> <span
class="nx">date</span> <span
class="o">=</span> <span
class="k">new</span> <span
class="nb">Date</span><span
class="p">();</span>
+<span class="nx">console</span><span
class="p">.</span><span
class="nx">log</span><span
class="p">(</span><span
class="k">new</span> <span
class="nx">Intl</span><span
class="p">.</span><span
class="nx">DateTimeFormat</span><span
class="p">().</span><span
class="nx">format</span><span
class="p">(</span><span
class="nx">date</span><span
class="p">));</span>
+</code></pre></div>
+<p><a
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl">Here</a>
is a good resource to find out more about various methods in the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a>.</p>
+
+<p>Your feedback is graciously accepted and appreciated!</p>
+</description>
+ <pubDate>Mon, 20 Nov 2017 00:00:00 +0000</pubDate>
+
<link>https://cordova.apache.org/news/2017/11/20/migrate-from-cordova-globalization-plugin.html</link>
+ <guid
isPermaLink="true">https://cordova.apache.org/news/2017/11/20/migrate-from-cordova-globalization-plugin.html</guid>
+
+ <category>cordova</category>
+
+ <category>globalization</category>
+
+
+ <category>news</category>
+
+ </item>
+
+ <item>
<title>Plugins Release</title>
<description><p>The following plugins were updated
today:</p>
@@ -901,64 +969,6 @@ cordova platform update [email protected]
<category>news</category>
- <category>releases</category>
-
-
- <category>announcements</category>
-
- </item>
-
- <item>
- <title>Cordova iOS 4.5.1</title>
- <description><p>We are happy to announce a minor version of
<code>Cordova iOS 4.5.1</code> has been released!</p>
-
-<p>This version provides updates for the latest iOS 11 and Xcode 9. You
can now create builds for this new version and properly deploy to either the
emulator or device.</p>
-
-<p>Things to note:</p>
-
-<ul>
-<li>For iPhone X&#39;s new screen size, you must use Launch
Storyboards to take full advantage of it</li>
-<li>Current Splash Screen images will result in letterboxing</li>
-</ul>
-
-<p>Apple has also made some changes that could effect your current apps,
specifically around the viewport. Here are a few resources that could help with
your transition to iOS 11:</p>
-
-<ol>
-<li><a
href="https://webkit.org/blog/7929/designing-websites-for-iphone-x/">Designing
Websites for iPhone X</a></li>
-<li><a
href="https://ayogo.com/blog/ios11-viewport/">Understanding the
WebView Viewport in iOS 11</a></li>
-<li><a
href="http://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/">Removing
the White Bars in Safari on iPhone X</a></li>
-</ol>
-
-<p>We are also aware that there are specific issues related to the
Status Bar plugin. The team is working to resolve these for the next release of
the plugin.</p>
-
-<p><strong>Note:</strong> When updating
<strong>iOS</strong>, make sure to save your plugins as current
unsaved plugins may not be reinstalled otherwise. Run the following command in
your project to save your currently installed plugins into
<code>config.xml</code>:</p>
-<div class="highlight"><pre><code
class="language-" data-lang="">cordova plugin save
-</code></pre></div>
-<p>To upgrade:</p>
-<div class="highlight"><pre><code
class="language-" data-lang="">npm install -g cordova
-cd my_project
-cordova platform rm ios
-cordova platform add [email protected]
-</code></pre></div>
-<p>To add it explicitly:</p>
-<div class="highlight"><pre><code
class="language-" data-lang="">cordova platform add
[email protected]
-</code></pre></div>
-<!--more-->
-
-<h2>What&#39;s new in iOS</h2>
-
-<ul>
-<li><a
href="https://issues.apache.org/jira/browse/CB-13310">CB-13310</a>
Updated checked-in node_modules</li>
-<li><a
href="https://issues.apache.org/jira/browse/CB-13191">CB-13191</a>
(ios) Support marketing icon (#337)</li>
-<li><a
href="https://issues.apache.org/jira/browse/CB-12888">CB-12888</a>
- cordova emulate <strong>iOS</strong> doesn&#39;t work in
<strong>iOS</strong> 11</li>
-</ul>
-</description>
- <pubDate>Mon, 25 Sep 2017 00:00:00 +0000</pubDate>
-
<link>https://cordova.apache.org/announcements/2017/09/25/ios-release.html</link>
- <guid
isPermaLink="true">https://cordova.apache.org/announcements/2017/09/25/ios-release.html</guid>
-
- <category>news</category>
-
<category>releases</category>
Modified: cordova/site/public/news/2017/11/10/plugins-release.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/news/2017/11/10/plugins-release.html?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/news/2017/11/10/plugins-release.html (original)
+++ cordova/site/public/news/2017/11/10/plugins-release.html Thu Nov 30
00:36:33 2017
@@ -427,6 +427,26 @@ cordova plugin add cordova-plugin-camera
</div>
<div class="col-sm-6">
+ <a
href="/news/2017/11/20/migrate-from-cordova-globalization-plugin.html">Next</a>
+ <br>
+ <br>
+ <a class="title"
href="/news/2017/11/20/migrate-from-cordova-globalization-plugin.html">Migrating
from the Globalization Plugin</a>
+ <div class="date"> 20 Nov 2017 - By Vishal Mishra </div>
+ <p class="content">
+ <!--
+ NOTE:
+ the markdownify filter is used here
+ because posts are rendered in sequence;
+ that is, the next post's content isn't
+ yet rendered at the time that this post
+ is being rendered, so page.next.excerpt
+ is still in Markdown and not HTML
+
+ Reference:
https://github.com/jekyll/jekyll/issues/2860
+ -->
+ Migrating from the Cordova Globalization Plugin The
Cordova Globalization Plugin was created...
+ </p>
+
</div>
</div>
</footer>
Added:
cordova/site/public/news/2017/11/20/migrate-from-cordova-globalization-plugin.html
URL:
http://svn.apache.org/viewvc/cordova/site/public/news/2017/11/20/migrate-from-cordova-globalization-plugin.html?rev=1816665&view=auto
==============================================================================
---
cordova/site/public/news/2017/11/20/migrate-from-cordova-globalization-plugin.html
(added)
+++
cordova/site/public/news/2017/11/20/migrate-from-cordova-globalization-plugin.html
Thu Nov 30 00:36:33 2017
@@ -0,0 +1,326 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="format-detection" content="telephone=no">
+ <meta name="viewport" content="user-scalable=no, initial-scale=1,
maximum-scale=1, minimum-scale=1, width=device-width" />
+ <meta name="description" content="Migrating from the Cordova Globalization
PluginThe Cordova Globalization Plugin was created to obtain information and
perform operations based on a userâs lo...">
+
+ <title>
+
+
+ Migrating from the Globalization Plugin - Apache Cordova
+
+
+ </title>
+
+ <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+
+
+
+
+
+
+ <link rel="canonical"
href="https://cordova.apache.org/news/2017/11/20/migrate-from-cordova-globalization-plugin.html">
+
+ <!-- CSS -->
+ <link rel="stylesheet" type="text/css" href="/static/css/main.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/lib/syntax.css">
+ <!-- Algolia Search CSS -->
+ <link rel="stylesheet"
href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />
+
+ <!-- Fonts -->
+ <!-- For attribution information, see www/attributions.html -->
+ <link
href='https://fonts.googleapis.com/css?family=Raleway:700,400,300,700italic,400italic,300italic'
rel='stylesheet' type='text/css'>
+
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media
queries -->
+ <!--[if lt IE 9]>
+ <script
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
+ <script type="text/javascript">
+ var disqus_developer = 1; // this would set it to developer mode
+ </script>
+
+ <!-- JS -->
+ <script defer type="text/javascript"
src="/static/js/lib/jquery-2.1.1.min.js"></script>
+ <script defer type="text/javascript"
src="/static/js/lib/bootstrap.min.js"></script>
+ <script defer type="text/javascript"
src="/static/js/lib/ZeroClipboard.js"></script>
+
+ <script>
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ ga('create', 'UA-64283057-3', 'auto');
+ ga('send', 'pageview');
+</script>
+
+</head>
+
+<body>
+ <header>
+ <a class="scroll-point pt-top" name="top"></a>
+ <nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="container-fluid">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar" aria-expanded="false"
aria-controls="navbar">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/"><img id="logo_top"
src="/static/img/cordova-logo-newbrand.svg"/></a>
+ </div>
+ <div id="navbar" class="navbar-collapse collapse">
+ <div class="nav_bar_center">
+ <ul class="nav navbar-nav">
+ <li >
+ <a href="/docs/en/latest/">Documentation</a>
+ </li>
+ <li >
+ <a href="/plugins">Plugins</a>
+ </li>
+ <li class="active">
+ <a href="/blog" id="blog_button">Blog<span
class="badge" id="new_blog_count"></span></a>
+ </li>
+ <li >
+ <a href="/contribute">Contribute</a>
+ </li>
+ <li>
+ <a href="/#getstarted">Get Started</a>
+ </li>
+ <li>
+ <form class="navbar-form navbar-right"
id="header-search-form" role="search">
+ <div class="input-group">
+
+
+
+ <input id="header-search-field"
type="text" placeholder="Search '7.x' docs..." class="form-control hidden-xs"
autocomplete="off">
+ </div>
+ </form>
+ </li>
+ </ul>
+ </div>
+ </div><!--/.navbar-collapse -->
+ </div>
+ </nav>
+ <div id="_fixed_navbar_spacer" style="padding-top:50px"></div>
+</header>
+
+<div class="page container">
+ <div class="blog">
+ <h1 class="blogHeader">
+ Blog
+ <span class="rss">
+ <img src="/static/img/subscribe.png"><a href="/feed.xml">RSS Feed</a>
+ </span>
+</h1>
+
+<div class="post">
+ <header>
+ <div class="title">Migrating from the Globalization Plugin</div>
+ <div class="author">By:
+
+ <a href="https://twitter.com/tweetsbymishra">Vishal Mishra</a>
+
+ </div>
+ <div class="date">20 Nov 2017</div>
+ </header>
+ <section>
+ <div>
+ <h2>Migrating from the Cordova Globalization Plugin</h2>
+
+<p>The Cordova Globalization Plugin was created to obtain information and
perform operations based on a userâs locale, language and timezone when most
mobile platforms could not make a distinction between these settings. With the
new API arrivals in the browser, we can now use the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> for achieving this goal on iOS, Android, Windows
devices and desktop browsers. Hence, this cordova plugin is not needed any more
and will be sunset soon.</p>
+
+<h3>Migrating from the plugin to the Internationalization API</h3>
+
+<p>The cordova globalization plugin defines a global navigator.globalization
object which provides various methods to access a userâs locale, language and
timezone. To get the preferred language from the browser, the
navigator.globalization.getPreferredLanguage method was used as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">getPreferredLanguage</span><span class="p">(</span><span
class="kd">function</span> <span class="p">(</span><span
class="nx">language</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'language:
'</span> <span class="o">+</span> <span class="nx">language</span><span
class="p">.</span><span class="nx">value</span> <span class="o">+</span> <span
class="s1">'\n'</span><span class="p">);</span>
+<span class="p">},</span> <span class="kd">function</span> <span
class="p">()</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'Error getting
language\n'</span><span class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The current locale could be found out using:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">getLocaleName</span><span class="p">(</span><span
class="kd">function</span> <span class="p">(</span><span
class="nx">locale</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'locale: '</span>
<span class="o">+</span> <span class="nx">locale</span><span
class="p">.</span><span class="nx">value</span> <span class="o">+</span> <span
class="s1">'\n'</span><span class="p">);</span>
+<span class="p">},</span> <span class="kd">function</span> <span
class="p">()</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'Error getting
locale\n'</span><span class="p">);</span>
+<span class="p">});</span>
+</code></pre></div>
+<p>The <a href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a> provides the <code>Intl</code> object which
provides language sensitive string comparison, number formatting, and date and
time formatting.Â
+First we should check if the API is supported by the browser:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="k">if</span> <span class="p">(</span><span class="nb">window</span><span
class="p">.</span><span class="nx">Intl</span> <span
class="o">&&</span> <span class="k">typeof</span> <span
class="nb">window</span><span class="p">.</span><span class="nx">Intl</span>
<span class="o">===</span> <span class="s1">'object'</span><span
class="p">)</span> <span class="p">{</span>
+ <span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="s1">'API
available'</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>
+<p>The preferred language tag can be found out from the browser by using the
<code>navigator</code> object:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">language</span><span class="p">);</span>
+</code></pre></div>
+<p>The locale name can be found out using the
<code>Intl.getCanonicalLocales(locales)</code> method. <code>locales</code> is
a string value or an array of string values that has the language tag(s). The
locale name can then be obtained as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nx">Intl</span><span class="p">.</span><span
class="nx">getCanonicalLocales</span><span class="p">(</span><span
class="s1">'EN-US'</span><span class="p">);</span> <span class="c1">//
["en-US"]</span>
+<span class="nx">Intl</span><span class="p">.</span><span
class="nx">getCanonicalLocales</span><span class="p">([</span><span
class="s1">'EN-US'</span><span class="p">,</span> <span
class="s1">'Fr'</span><span class="p">]);</span> <span class="c1">// ["en-US",
"fr"]</span>
+</code></pre></div>
+<p>Another instance of migrating from the cordova globalization plugin can be
seen in this example: the navigator.globalization.dateToString method. This
method is used in the cordova plugin as shown below:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="nb">navigator</span><span class="p">.</span><span
class="nx">globalization</span><span class="p">.</span><span
class="nx">dateToString</span><span class="p">(</span>
+ <span class="k">new</span> <span class="nb">Date</span><span
class="p">(),</span>
+ <span class="kd">function</span> <span class="p">(</span><span
class="nx">date</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">alert</span><span class="p">(</span><span
class="s1">'date: '</span> <span class="o">+</span> <span
class="nx">date</span><span class="p">.</span><span class="nx">value</span>
<span class="o">+</span> <span class="s1">'\n'</span><span class="p">);</span>
+ <span class="p">},</span>
+ <span class="kd">function</span> <span class="p">()</span> <span
class="p">{</span>
+ <span class="nx">alert</span><span class="p">(</span><span
class="s1">'Error getting dateString\n'</span><span class="p">);</span>
+ <span class="p">},</span>
+ <span class="p">{</span> <span class="na">formatLength</span><span
class="p">:</span> <span class="s1">'short'</span><span class="p">,</span>
<span class="na">selector</span><span class="p">:</span> <span
class="s1">'date'</span> <span class="p">}</span>
+<span class="p">);</span>
+</code></pre></div>
+<p>Similar results can be obtained using the Internationalization API by using
the following code:</p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span
class="kd">var</span> <span class="nx">date</span> <span class="o">=</span>
<span class="k">new</span> <span class="nb">Date</span><span
class="p">();</span>
+<span class="nx">console</span><span class="p">.</span><span
class="nx">log</span><span class="p">(</span><span class="k">new</span> <span
class="nx">Intl</span><span class="p">.</span><span
class="nx">DateTimeFormat</span><span class="p">().</span><span
class="nx">format</span><span class="p">(</span><span
class="nx">date</span><span class="p">));</span>
+</code></pre></div>
+<p><a
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl">Here</a>
is a good resource to find out more about various methods in the <a
href="https://www.ecma-international.org/ecma-402/1.0/">ECMA
Internationalization API</a>.</p>
+
+<p>Your feedback is graciously accepted and appreciated!</p>
+
+ </div>
+ </section>
+ <footer>
+ <div class="row">
+ <div class="col-sm-6">
+
+ <a
href="/news/2017/11/10/plugins-release.html">Previous</a>
+ <br>
+ <br>
+ <a class="title"
href="/news/2017/11/10/plugins-release.html">Plugins Release</a>
+ <div class="date"> 10 Nov 2017 - By Steve Gill </div>
+ <p class="content">
+ The following plugins were updated today:
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]...
+ </p>
+
+ </div>
+ <div class="col-sm-6">
+
+ </div>
+ </div>
+ </footer>
+ <div class="disqus">
+ <div id="disqus_thread"></div>
+<script type="text/javascript">
+ /* * * CONFIGURATION VARIABLES * * */
+ var disqus_shortname = 'cordovablogs';
+
+ /* * * DON'T EDIT BELOW THIS LINE * * */
+ (function() {
+ var dsq = document.createElement('script'); dsq.type =
'text/javascript'; dsq.async = true;
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+</script>
+<noscript>Please enable JavaScript to view the <a
href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by
Disqus.</a></noscript>
+
+ </div>
+</div>
+
+</div>
+
+</div>
+
+<div class="blue-divider"></div>
+<footer>
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-9">
+ <h1>More Resources</h1>
+ <div class="row">
+ <div class="col-sm-4">
+ <h2>General</h2>
+ <ul class="nav">
+ <li>
+ <a target="_blank"
href="https://projects.apache.org/project.html?cordova">Apache Project Page</a>
+ </li>
+ <li>
+ <a
href="http://www.apache.org/dyn/closer.cgi/cordova">Source Distribution</a>
+ </li>
+ <li>
+ <a target="_blank"
href="http://www.apache.org/licenses/LICENSE-2.0">License</a>
+ </li>
+ <li>
+ <a href="/artwork">Artwork</a>
+ </li>
+ </ul>
+ </div>
+ <div class="col-sm-4">
+ <h2>Development</h2>
+ <ul class="nav">
+ <li><a target="_blank"
href="https://github.com/apache?utf8=%E2%9C%93&q=cordova-">Source
Code</a></li>
+ <li><a target="_blank"
href="https://issues.apache.org/jira/browse/CB/">Issue Tracker</a></li>
+ <li><a target="_blank"
href="http://stackoverflow.com/questions/tagged/cordova">Stack Overflow</a></li>
+ <li><a href="/contact">Mailing List</a></li>
+ <li><a href="/contribute/nightly_builds.html">Nightly
builds</a></li>
+ </ul>
+ </div>
+ <div class="col-sm-4">
+ <h2>Apache Software Foundation</h2>
+ <ul class="nav">
+ <li>
+ <a target="_blank" href="http://www.apache.org/">About
ASF</a>
+ </li>
+ <li>
+ <a target="_blank"
href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ </li>
+ <li>
+ <a target="_blank"
href="http://www.apache.org/foundation/thanks.html">Thanks</a>
+ </li>
+ <li>
+ <a target="_blank"
href="http://www.apache.org/security/">Security</a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="col-sm-3">
+ <h1>Contribute</h1>
+ <p style="padding-top:20px"><strong>Help Cordova move
forward!</strong></p>
+ <p>Report bugs, improve the docs, or contribute to the code.</p>
+ <a href="/contribute" class="btn btn-lg btn-primary">
+ Learn More
+ </a>
+ <p style="padding-top:20px"> <a
href="https://twitter.com/apachecordova" class="twitter-follow-button"
data-show-count="false">Follow @apachecordova</a></p>
+ <script async defer
src="https://slack-cordova-io.herokuapp.com/slackin.js"></script>
+ </div>
+</div>
+<p class="copyright_text">
+ Copyright © 2012, 2013, 2015 The Apache Software Foundation, Licensed
under the <a target="_blank"
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.<br/>
+ Apache and the Apache feather logos are <a target="_blank"
href="http://www.apache.org/foundation/marks/list/">trademarks</a> of The
Apache Software Foundation.
+ <br/>
+ "Raleway" font used under license. For details see the <a
href="/attributions/">attributions page</a>.
+</p>
+
+ </div>
+</footer>
+
+
+ <script defer type="text/javascript" src="/static/js/index.js"></script>
+ <script defer type="text/javascript" src="/static/js/twitter.js"></script>
+
+
+
+
+
+
+
+
+<script type="text/javascript"
src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
+<script type="text/javascript">
+ docsearch({
+ apiKey: '0a916ab198bd93d031aa70611271e42e',
+ indexName: 'cordova',
+ inputSelector: '#header-search-field',
+ algoliaOptions: { 'facetFilters': ["version: 7.x", "language: en"] }
+ });
+</script>
+
+</body>
+</html>
Modified: cordova/site/public/sitemap.xml
URL:
http://svn.apache.org/viewvc/cordova/site/public/sitemap.xml?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/sitemap.xml (original)
+++ cordova/site/public/sitemap.xml Thu Nov 30 00:36:33 2017
@@ -4,6 +4,11 @@
<!-- posts -->
<url>
+
<loc>https://cordova.apache.org/news/2017/11/20/migrate-from-cordova-globalization-plugin.html</loc>
+</url>
+
+
+<url>
<loc>https://cordova.apache.org/news/2017/11/10/plugins-release.html</loc>
</url>
Modified: cordova/site/public/static/css/lib/bootstrap.css
URL:
http://svn.apache.org/viewvc/cordova/site/public/static/css/lib/bootstrap.css?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/static/css/lib/bootstrap.css (original)
+++ cordova/site/public/static/css/lib/bootstrap.css Thu Nov 30 00:36:33 2017
@@ -1,5 +1,3 @@
----
----
/* Customized Theme for Cordova */
/*!
@@ -258,8 +256,8 @@ th {
}
@font-face {
font-family: 'Glyphicons Halflings';
- src: url('{{ site.baseurl }}/static/fonts/glyphicons-halflings-regular.eot');
- src: url('{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.eot?#iefix')
format('embedded-opentype'), url('{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('{{
site.baseurl }}/static/fonts/glyphicons-halflings-regular.woff')
format('woff'), url('{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('{{
site.baseurl
}}/static/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular')
format('svg');
+ src: url('/static/fonts/glyphicons-halflings-regular.eot');
+ src: url('/static/fonts/glyphicons-halflings-regular.eot?#iefix')
format('embedded-opentype'),
url('/static/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
url('/static/fonts/glyphicons-halflings-regular.woff') format('woff'),
url('/static/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
url('/static/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular')
format('svg');
}
.glyphicon {
position: relative;
Modified: cordova/site/public/static/css/lib/bootstrap.min.css
URL:
http://svn.apache.org/viewvc/cordova/site/public/static/css/lib/bootstrap.min.css?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/static/css/lib/bootstrap.min.css (original)
+++ cordova/site/public/static/css/lib/bootstrap.min.css Thu Nov 30 00:36:33
2017
@@ -1,5 +1,3 @@
----
----
/*!
* Bootstrap v3.3.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
Modified: cordova/site/public/static/css/lib/syntax.css
URL:
http://svn.apache.org/viewvc/cordova/site/public/static/css/lib/syntax.css?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/static/css/lib/syntax.css (original)
+++ cordova/site/public/static/css/lib/syntax.css Thu Nov 30 00:36:33 2017
@@ -1,5 +1,3 @@
----
----
/*
The MIT License (MIT)
Copyright (c) 2008 Tom Preston-Werner
Modified: cordova/site/public/static/css/main.css
URL:
http://svn.apache.org/viewvc/cordova/site/public/static/css/main.css?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/static/css/main.css (original)
+++ cordova/site/public/static/css/main.css Thu Nov 30 00:36:33 2017
@@ -1,5 +1,3 @@
----
----
/* Customized Theme for Cordova */
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
@@ -240,8 +238,8 @@ th {
@font-face {
font-family: 'Glyphicons Halflings';
- src: url("{{ site.baseurl }}/static/fonts/glyphicons-halflings-regular.eot");
- src: url("{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.eot?#iefix")
format("embedded-opentype"), url("{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.woff2") format("woff2"), url("{{
site.baseurl }}/static/fonts/glyphicons-halflings-regular.woff")
format("woff"), url("{{ site.baseurl
}}/static/fonts/glyphicons-halflings-regular.ttf") format("truetype"), url("{{
site.baseurl
}}/static/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular")
format("svg"); }
+ src: url("/static/fonts/glyphicons-halflings-regular.eot");
+ src: url("/static/fonts/glyphicons-halflings-regular.eot?#iefix")
format("embedded-opentype"),
url("/static/fonts/glyphicons-halflings-regular.woff2") format("woff2"),
url("/static/fonts/glyphicons-halflings-regular.woff") format("woff"),
url("/static/fonts/glyphicons-halflings-regular.ttf") format("truetype"),
url("/static/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular")
format("svg"); }
.glyphicon {
position: relative;
@@ -6803,7 +6801,7 @@ html {
min-height: 500px;
height: 70%;
background-color: rgba(0, 0, 0, 0.8);
- background-image: url("{{ site.baseurl }}/static/img/wisplight.jpg");
+ background-image: url("/static/img/wisplight.jpg");
background-size: cover;
position: relative;
color: white; }
@@ -6918,13 +6916,13 @@ html {
background-size: 135px 45px; } }
#sprite_shared_code {
- background: url("{{ site.baseurl }}/static/img/value-prop-sprite.svg") 0px
0; }
+ background: url("/static/img/value-prop-sprite.svg") 0px 0; }
#sprite_offline {
- background: url("{{ site.baseurl }}/static/img/value-prop-sprite.svg") 50%
0; }
+ background: url("/static/img/value-prop-sprite.svg") 50% 0; }
#sprite_apis {
- background: url("{{ site.baseurl }}/static/img/value-prop-sprite.svg") 100%
0; }
+ background: url("/static/img/value-prop-sprite.svg") 100% 0; }
.navbar-brand {
padding: 0;
@@ -7436,7 +7434,7 @@ hr.results-divider-line {
display: inline-block; }
.results-supported-platforms > li > div {
- background-image: url("{{ site.baseurl
}}/static/img/platform-logos-all-sprite.svg");
+ background-image: url("/static/img/platform-logos-all-sprite.svg");
width: 50px;
height: 50px;
display: inline-block;
@@ -7508,7 +7506,7 @@ hr.results-divider-line {
height: 30px;
background-color: #ffffff; }
.docs mark.logo {
- background-image: url("{{ site.baseurl
}}/static/img/platform-logos-all-sprite.svg");
+ background-image: url("/static/img/platform-logos-all-sprite.svg");
width: 35px;
background-size: 385px 35px; }
.docs mark.android {
@@ -7785,7 +7783,7 @@ html[lang="ru"] .docs #old-home ul li {
.contribute-help .report-bug-icon {
height: 1em;
width: 1em;
- background-image: url("{{ site.baseurl }}/static/img/bug_icon.svg");
+ background-image: url("/static/img/bug_icon.svg");
background-size: 2em 1em;
display: inline-block; }
@@ -7820,7 +7818,7 @@ html[lang="ru"] .docs #old-home ul li {
-moz-transition: background 0.25s linear;
transition: background 0.25s linear;
width: 36px;
- background: url("{{ site.baseurl }}/static/img/sprite.png") no-repeat;
+ background: url("/static/img/sprite.png") no-repeat;
background-position: 3px -127px;
background-color: #4cc2e4;
height: 36px; }
@@ -7930,7 +7928,7 @@ html[lang="ru"] .docs #old-home ul li {
.artwork .button {
display: block;
- background: url("{{ site.baseurl }}/static/img/sprite.png") no-repeat;
+ background: url("/static/img/sprite.png") no-repeat;
background-color: #4cc2e4;
background-position: 100% -171px;
width: 310px;
Modified: cordova/site/public/static/js/index.js
URL:
http://svn.apache.org/viewvc/cordova/site/public/static/js/index.js?rev=1816665&r1=1816664&r2=1816665&view=diff
==============================================================================
--- cordova/site/public/static/js/index.js (original)
+++ cordova/site/public/static/js/index.js Thu Nov 30 00:36:33 2017
@@ -77,6 +77,7 @@ function checkNotification() {
var dates = [];
if (lastVisit != "") {
+ dates.push('Mon, 20 Nov 2017 00:00:00 +0000');
dates.push('Fri, 10 Nov 2017 00:00:00 +0000');
dates.push('Thu, 09 Nov 2017 00:00:00 +0000');
dates.push('Tue, 31 Oct 2017 00:00:00 +0000');
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]