You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/09 02:59:44 UTC
svn commit: r1701889 - in /cordova/site/public/use-the-force-luke: ./
docs/de/edge/config_ref/ docs/en/edge/config_ref/
docs/en/edge/guide/platforms/ios/ docs/es/edge/config_ref/
docs/fr/edge/config_ref/ docs/it/edge/config_ref/ docs/ja/edge/config_ref...
Author: dblotsky
Date: Wed Sep 9 00:59:43 2015
New Revision: 1701889
URL: http://svn.apache.org/r1701889
Log:
Updating in-progress site.
Added:
cordova/site/public/use-the-force-luke/static/img/tools/monaca.png (with props)
cordova/site/public/use-the-force-luke/static/img/tools/onsen.png (with props)
Modified:
cordova/site/public/use-the-force-luke/docs/de/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/en/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/en/edge/guide/platforms/ios/config.html
cordova/site/public/use-the-force-luke/docs/es/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/fr/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/it/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/ja/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/ko/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/pl/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/ru/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/docs/zh/edge/config_ref/index.html
cordova/site/public/use-the-force-luke/feed.xml
cordova/site/public/use-the-force-luke/index.html
cordova/site/public/use-the-force-luke/static/js/index.js
Modified: cordova/site/public/use-the-force-luke/docs/de/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/de/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/de/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/de/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -917,25 +917,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>Für iOS kann Orientierung programmgesteuert gesteuert werden, indem Sie einen Javascript-Rückruf für <code>window</code>definieren:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="das-feature-element">Das <em>Feature</em> Element</h2>
<p>Wenn Sie die CLI verwenden, um Anwendungen zu erstellen, verwenden Sie den <code>plugin</code> -Befehl Gerät APIs zu aktivieren. Dies ändert nicht die Datei auf oberster Ebene <code>"config.xml"</code> , also das <code><feature></code> nicht für Ihren Workflow gilt. Wenn Sie direkt in ein SDK und mit der plattformspezifischen <code>config.xml</code> -Datei als Quelle arbeiten, verwenden Sie das Tag <code><feature></code> Geräteebene APIs und externe Plugins aktivieren. Sie erscheinen oft mit benutzerdefinierten Werte in plattformspezifischen <code>"config.xml"</code> -Dateien. Hier ist beispielsweise die Device-API für Android Projekte angeben:</p>
Modified: cordova/site/public/use-the-force-luke/docs/en/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/en/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/en/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/en/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -1345,22 +1345,6 @@ allowing the platform to fallback to its
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>For iOS, orientation can be programmatically controlled by defining a javascript callback on <code>window</code>:</p>
- <pre>
- /**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
</li>
</ul>
Modified: cordova/site/public/use-the-force-luke/docs/en/edge/guide/platforms/ios/config.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/en/edge/guide/platforms/ios/config.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/en/edge/guide/platforms/ios/config.html (original)
+++ cordova/site/public/use-the-force-luke/docs/en/edge/guide/platforms/ios/config.html Wed Sep 9 00:59:43 2015
@@ -1290,6 +1290,25 @@ When using with OverrideUserAgent, this
<pre><code> <preference name="OverrideUserAgent" value="My Browser" />
</code></pre>
</li>
+ <li>
+ <p><code>target-device</code> (string, defaults to <code>universal</code>): Valid values are <code>handset</code>, <code>tablet</code>, <code>universal</code>
+For targeting a specific device family. This property maps directly to <code>TARGETED_DEVICE_FAMILY</code>
+in the xcode project.
+Note that if you target <code>universal</code> (which is the default) you will need to supply screen shots for
+both iPhone and iPad or your app may be rejected.</p>
+
+ <pre><code> <preference name="target-device" value="universal" />
+</code></pre>
+ </li>
+ <li>
+ <p><code>deployment-target</code> (string, not set by default):
+This sets the <code>IPHONEOS_DEPLOYMENT_TARGET</code> in the build, which ultimately tranlsates to the <code>MinimumOSVersion</code> in the ipa.
+For more details please refer to Appleâs documentation on
+<a href="https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html"><code>Deployment Target Settings</code></a></p>
+
+ <pre><code> <preference name="deployment-target" value="7.0" />
+</code></pre>
+ </li>
</ul>
Modified: cordova/site/public/use-the-force-luke/docs/es/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/es/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/es/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/es/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -917,25 +917,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>Para iOS, orientación se puede controlar mediante programación por definir un callback de javascript en la <code>window</code>:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="la-funcin-de-elemento">La <em>función de</em> elemento</h2>
<p>Si utilizas el CLI para construir aplicaciones, usted utilice el comando <code>plugin</code> para habilitar dispositivo APIs. No se modifique el archivo <code>config.xml</code> de nivel superior, por lo que el elemento <code>< feature ></code> no se aplica a su flujo de trabajo. Si trabajas directamente en un SDK y usando el archivo <code>config.xml</code> de especÃficas de la plataforma como fuente, se utiliza la etiqueta <code>< feature ></code> para habilitar APIs de nivel de dispositivo y plugins externos. A menudo aparecen con valores personalizados en archivos especÃficos para cada plataforma <code>config.xml</code> . Por ejemplo, aquà es cómo especificar el dispositivo API para los proyectos de Android:</p>
Modified: cordova/site/public/use-the-force-luke/docs/fr/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/fr/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/fr/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/fr/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -863,25 +863,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>Pour iOS, orientation peut être contrôlée par programmation en définissant un rappel javascript sur <code>window</code>:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="la-fonctionnalit-lment">La <em>fonctionnalité</em> élément</h2>
<p>Si vous utilisez la CLI pour créer des applications, vous utilisez la commande <code>plugin</code> pour activer le dispositif API. Cela ne modifie pas le fichier de niveau supérieur <code>config.xml</code> , aussi lâélément <code>< feature ></code> ne sâapplique pas à votre flux de travail. Si vous êtes travaillant directement dans un kit de développement logiciel et à lâaide de la plate-forme spécifique <code>config.xml</code> fichier source, vous utilisez le <code><feature></code> tag pour permettre aux API de niveau périphérique et des plugins externes. Elles apparaissent souvent avec des valeurs personnalisées dans les fichiers spécifiques à une plateforme <code>config.xml</code> . Par exemple, voici comment spécifier lâAPI Device pour les projets Android :</p>
Modified: cordova/site/public/use-the-force-luke/docs/it/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/it/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/it/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/it/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -935,25 +935,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>Per iOS, orientamento può essere controllato a livello di codice mediante la definizione di un callback javascript sulla <code>window</code>:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="la-funzione-di-elemento">La <em>funzione di</em> elemento</h2>
<p>Se si utilizza la CLI per costruire applicazioni, si utilizza il comando <code>plugin</code> per abilitare dispositivo API. Questo non modifica il file di primo livello <code>config. XML</code> , quindi lâelemento <code>< feature ></code> non si applica al vostro flusso di lavoro. Se si lavora direttamente in un SDK e utilizzando il file di specifica della piattaforma <code>config. XML</code> come origine, si utilizza il tag <code>< feature ></code> abilitare dispositivo-livello API e plugin esterni. Essi appaiono spesso con i valori personalizzati nel file specifici della piattaforma <code>config. XML</code> . Ad esempio, ecco come specificare il Device API per progetti Android:</p>
Modified: cordova/site/public/use-the-force-luke/docs/ja/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/ja/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/ja/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/ja/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -1019,25 +1019,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>IOS ç¨, åãã<code>ã¦ã£ã³ãã¦</code>㧠javascript ã³ã¼ã«ããã¯ãå®ç¾©ãããã¨ã«ãã£ã¦ããã°ã©ã ã§å¶å¾¡ã§ãã¾ãã</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="section-4"><em>æ©è½</em>è¦ç´ </h2>
<p>CLI ã使ç¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããå ´åã¯ãããã¤ã¹ Api ãæå¹ã«ãã<code>ãã©ã°ã¤ã³</code>ã³ãã³ãã使ç¨ãã¾ãã ããã¯<code>< feature ></code>è¦ç´ ã¯ãã¯ã¼ã¯ããã¼ã«é©ç¨ãããªãã®ã§ãããã¬ãã«ã®<code>config.xml</code>ãã¡ã¤ã«ãå¤æ´ããã¾ããã ç´æ¥ã§ãSDK ã¨ã½ã¼ã¹ã¨ãã¦ãã©ãããã©ã¼ã åºæã®<code>config.xml</code>ãã¡ã¤ã«ã使ç¨ãã¦ä½æ¥ããå ´åã¯ãããã¤ã¹ ã¬ãã«ã® Api ã¨å¤é¨ãã©ã°ã¤ã³ãæå
¹ã«ãã<code>< æ©è½ ></code>ã¿ã°ã使ç¨ãã¾ãã å½¼ãã¯ãã°ãã°ãã©ãããã©ã¼ã åºæã®<code>config.xml</code>ãã¡ã¤ã«ã«ã«ã¹ã¿ã å¤ã§è¡¨ç¤ºããã¾ãã ãã¨ãã°ãããã§ã¯ Android ããã¸ã§ã¯ãã®ããã¤ã¹ API ãæå®ããæ¹æ³ã§ãã</p>
Modified: cordova/site/public/use-the-force-luke/docs/ko/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/ko/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/ko/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/ko/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -949,25 +949,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>IOSì ë í ë°©í¥ì íë¡ê·¸ëë° ë°©ìì¼ë¡ <code>ì°½</code>ì ìë° ì¤í¬ë¦½í¸ ì½ë°±ì ì ì í ì¬ ì ì´í ì ììµëë¤.</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="section-4"><em>기ë¥</em> ìì</h2>
<p>CLI를 ì¬ì© í ì¬ ìì© íë¡ê·¸ë¨ì 구ì¶í ê²½ì° ì¥ì¹ Api를 ì¤ì íë ¤ë©´ <code>íë¬ê·¸ì¸</code> ëª
ë ¹ì ì¬ì© í©ëë¤. ì´ <code>< ê¸°ë¥ ></code> ìì ìí¬íë¡ì ì ì© ëì§ ììµëë¤ ê·¸ëì ìµìì <code>config.xml</code> íì¼ì ìì íì§ ììµëë¤. SDK ë° íë«í¼ í¹ì <code>config.xml</code> íì¼ì ì¬ì© í ì¬ ì본ì¼ë¡ìì ì§ì ìì
íë ê²½ì° ì¥ì¹ ìì¤ Apiì ì¸ë¶ íë¬ê·¸ì¸ì ì¬ì© íë ¤ë©´ <code>< ê¸°ë¥ ></code> í그를 ì¬ì© í©ëë¤. ê·¸ë¤ì ì¢
ì¢
íë«í¼ í¹ì
<code>config.xml</code> íì¼ìì ì¬ì©ì ì§ì ê°ì¼ë¡ ëíë©ëë¤. ì를 ë¤ì´ ì¬ê¸°ì ì ë ë¡ì´ë íë¡ì í¸ì ë í ì¥ì¹ API를 ì§ì íë ë°©ë²ì´ì
ëë¤.</p>
Modified: cordova/site/public/use-the-force-luke/docs/pl/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/pl/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/pl/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/pl/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -857,25 +857,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>Dla iOS orientacjÄ można programowo kontrolowane przez definiowanie wywoÅania zwrotnego javascript na <code>windows</code>:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="funkcja-elementu"><em>Funkcja</em> elementu</h2>
<p>JeÅli używasz CLI do tworzenia aplikacji, należy użyÄ polecenia <code>plugin</code> aby umożliwiÄ API urzÄ
dzeÅ. To nie modyfikuje plik najwyższego poziomu <code>pliku config.xml</code> , wiÄc element <code>< feature ></code> nie stosuje siÄ do pracy. JeÅli pracujesz bezpoÅrednio w SDK i przy użyciu pliku platformy <code>plik config.xml</code> jako źródÅa, używasz tagu <code>< feature ></code> wÅÄ
czyÄ urzÄ
dzenie na poziomie API i zewnÄtrznych wtyczek. CzÄsto pojawiajÄ
siÄ z wartoÅci niestandardowe w pliki specyficzne dla platformy <code>pliku config.xml</code> . Na przykÅad Oto jak okreÅliÄ API urzÄ
dzenia Android projektów:</p>
Modified: cordova/site/public/use-the-force-luke/docs/ru/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/ru/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/ru/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/ru/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -987,22 +987,6 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>ÐÐ»Ñ iOS оÑиенÑаÑией можно пÑогÑаммно ÑпÑавлÑÑÑ Ð¿ÑÑем опÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑÑнкÑии обÑаÑного вÑзова javascript в обÑекÑе <code>window</code>:</p>
- <pre>
- /**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} ÐпÑеделÑÐµÑ Ð´Ð¾Ð¿ÑÑкаеÑÑÑ Ð»Ð¸ повоÑоÑ.
- */
-function shouldRotateToOrientation(degrees) {
- return true;
-}
-</pre>
</li>
</ul>
Modified: cordova/site/public/use-the-force-luke/docs/zh/edge/config_ref/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/docs/zh/edge/config_ref/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/docs/zh/edge/config_ref/index.html (original)
+++ cordova/site/public/use-the-force-luke/docs/zh/edge/config_ref/index.html Wed Sep 9 00:59:43 2015
@@ -917,25 +917,9 @@
<preference name="Orientation" value="all" />
</platform>
</code></pre>
-
- <p>IOSï¼éé<code>è¦çª</code>ä¸å®ç¾© javascript åæªå¯ä»¥ä»¥ç¨å¼è¨è¨æ¹å¼æ§å¶æ¹å:</p>
</li>
</ul>
-<pre>/**
- * @param {Number} degree
- * UIInterfaceOrientationPortrait: 0,
- * UIInterfaceOrientationLandscapeRight: 90,
- * UIInterfaceOrientationLandscapeLeft: -90,
- * UIInterfaceOrientationPortraitUpsideDown: 180
- *
- * @returns {Boolean} Indicating if rotation should be allowed.
- */
- function shouldRotateToOrientation(degrees) {
- return true;
- }
- </pre>
-
<h2 id="section-4"><em>åè½</em>å
ç´ </h2>
<p>å¦æä½ ä½¿ç¨ç CLI ä¾æ§å»ºæç¨ç¨å¼ï¼æ¨å°ä½¿ç¨<code>å¤æç¨å¼</code>å½ä»¤ä¾åç¨è¨åç Apiã éä¸ä¿®æ¹é ç´<code>config.xml</code>æªä¸ï¼æ以<code>< åè½ ></code>å
ç´ ä¸¦ä¸é©ç¨äºæ¨çå·¥ä½æµã å¦ææ¨ç´æ¥å¨ SDK å使ç¨ç¹å®äºå¹³èºç<code>config.xml</code>æªä½çºæºå·¥ä½ï¼ä½ 使ç¨<code>< åè½ ></code>æ¨è¨åç¨è¨åç´ Api åå¤é¨å¤æç¨å¼ã ä»åç¶å¸¸åºç¾ä»¥ç¹å®äºå¹³èºç<code>config.xml</code>æªä¸çèªè¨å¼ã ä¾å¦ï¼ä¸é¢æ¯å¦ä½æå®è¨å API çº Android å°æ¡:</p>
Modified: cordova/site/public/use-the-force-luke/feed.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/feed.xml?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/feed.xml (original)
+++ cordova/site/public/use-the-force-luke/feed.xml Wed Sep 9 00:59:43 2015
@@ -5,8 +5,8 @@
<description>Apache Cordova is a set of device APIs that allow a web mobile app developer to access native device function from JavaScript.</description>
<link>http://cordova.apache.org/use-the-force-luke/</link>
<atom:link href="http://cordova.apache.org/use-the-force-luke/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Wed, 02 Sep 2015 14:19:54 -0700</pubDate>
- <lastBuildDate>Wed, 02 Sep 2015 14:19:54 -0700</lastBuildDate>
+ <pubDate>Tue, 08 Sep 2015 17:24:23 -0700</pubDate>
+ <lastBuildDate>Tue, 08 Sep 2015 17:24:23 -0700</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
Modified: cordova/site/public/use-the-force-luke/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/index.html?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/index.html (original)
+++ cordova/site/public/use-the-force-luke/index.html Wed Sep 9 00:59:43 2015
@@ -309,6 +309,40 @@
</div>
</div>
+ <div class="col-lg-2 col-sm-4 card">
+ <div class="card_inner">
+ <img src="/use-the-force-luke/static/img/tools/monaca.png" class="center-block"/>
+ <p class="card_title">
+
+ <a href="https://monaca.io/">
+ Monaca
+ </a>
+
+ </p>
+ <p>
+ Comprehensive cloud-powered and framework-agnostic set of tools Monaca supports both online and offline development, debugging with live-reload feature and cloud build experience.
+
+ </p>
+ </div>
+ </div>
+
+ <div class="col-lg-2 col-sm-4 card">
+ <div class="card_inner">
+ <img src="/use-the-force-luke/static/img/tools/onsen.png" class="center-block"/>
+ <p class="card_title">
+
+ <a href="http://onsen.io/">
+ Onsen UI
+ </a>
+
+ </p>
+ <p>
+ Custom Elements-based HTML5 framework offers a large selection of components and responsive layout support. Onsen UI lets you create professionally designed multiplatform apps without acquiring additional skillset.
+
+ </p>
+ </div>
+ </div>
+
</div>
<div class="row"> <!-- Add yours or see more links -->
<div class="col-sm-12">
Added: cordova/site/public/use-the-force-luke/static/img/tools/monaca.png
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/static/img/tools/monaca.png?rev=1701889&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cordova/site/public/use-the-force-luke/static/img/tools/monaca.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: cordova/site/public/use-the-force-luke/static/img/tools/onsen.png
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/static/img/tools/onsen.png?rev=1701889&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cordova/site/public/use-the-force-luke/static/img/tools/onsen.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: cordova/site/public/use-the-force-luke/static/js/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/use-the-force-luke/static/js/index.js?rev=1701889&r1=1701888&r2=1701889&view=diff
==============================================================================
--- cordova/site/public/use-the-force-luke/static/js/index.js (original)
+++ cordova/site/public/use-the-force-luke/static/js/index.js Wed Sep 9 00:59:43 2015
@@ -234,22 +234,23 @@ $(document).ready(function () {
// Smooth scroll to anchor links
$("a[href^='#']").on('click', function(e) {
+ if(this.hash) {
+ // prevent default anchor click behavior
+ console.log('Scrolled to where you asked');
+ e.preventDefault();
- // prevent default anchor click behavior
- console.log('Scrolled to where you asked');
- e.preventDefault();
+ // store hash
+ var hash = this.hash;
- // store hash
- var hash = this.hash;
-
- // animate
- $('html, body').animate(
- {scrollTop: $(hash).offset().top},
- 300,
- function () {
- // when done, add hash to url (default click behaviour)
- window.location.hash = hash;
- }
- );
+ // animate
+ $('html, body').animate(
+ {scrollTop: $(hash).offset().top},
+ 300,
+ function () {
+ // when done, add hash to url (default click behaviour)
+ window.location.hash = hash;
+ }
+ );
+ }
});
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org