Repository: cordova-docs
Updated Branches:
  refs/heads/master 69669407f -> 62731c5ad


CB-8893 Remove docs for iOS window.shouldRotateToOrientation call


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

Branch: refs/heads/master
Commit: 62731c5adc292ff1a0103624d9f81c6457692be5
Parents: 6966940
Author: Simon MacDonald <simon.macdon...@gmail.com>
Authored: Tue Sep 1 17:49:12 2015 -0400
Committer: Simon MacDonald <simon.macdon...@gmail.com>
Committed: Tue Sep 1 17:49:12 2015 -0400

----------------------------------------------------------------------
 docs/de/edge/config_ref/index.md | 17 -----------------
 docs/en/edge/config_ref/index.md | 16 ----------------
 docs/es/edge/config_ref/index.md | 17 -----------------
 docs/fr/edge/config_ref/index.md | 17 -----------------
 docs/it/edge/config_ref/index.md | 17 -----------------
 docs/ja/edge/config_ref/index.md | 17 -----------------
 docs/ko/edge/config_ref/index.md | 17 -----------------
 docs/pl/edge/config_ref/index.md | 17 -----------------
 docs/ru/edge/config_ref/index.md | 16 ----------------
 docs/zh/edge/config_ref/index.md | 17 -----------------
 10 files changed, 168 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/de/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/de/edge/config_ref/index.md b/docs/de/edge/config_ref/index.md
index 62cfe62..cbebba3 100644
--- a/docs/de/edge/config_ref/index.md
+++ b/docs/de/edge/config_ref/index.md
@@ -154,23 +154,6 @@ Die folgenden Einstellungen gelten für mehrere 
Plattformen, jedoch nicht auf al
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    Für iOS kann Orientierung programmgesteuert gesteuert werden, indem Sie 
einen Javascript-Rückruf für `window`definieren:
-
-<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>
-
 ## Das *Feature* Element
 
 Wenn Sie die CLI verwenden, um Anwendungen zu erstellen, verwenden Sie den 
`plugin` -Befehl Gerät APIs zu aktivieren. Dies ändert nicht die Datei auf 
oberster Ebene `"config.xml"` , also das `<feature>` nicht für Ihren Workflow 
gilt. Wenn Sie direkt in ein SDK und mit der plattformspezifischen `config.xml` 
-Datei als Quelle arbeiten, verwenden Sie das Tag `<feature>` Geräteebene APIs 
und externe Plugins aktivieren. Sie erscheinen oft mit benutzerdefinierten 
Werte in plattformspezifischen `"config.xml"` -Dateien. Hier ist beispielsweise 
die Device-API für Android Projekte angeben:

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/en/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/config_ref/index.md b/docs/en/edge/config_ref/index.md
index f875c47..0cf30c1 100644
--- a/docs/en/edge/config_ref/index.md
+++ b/docs/en/edge/config_ref/index.md
@@ -194,22 +194,6 @@ all of them:
             <preference name="Orientation" value="all" />
         </platform>
 
-  For iOS, orientation can be programmatically controlled by defining a 
javascript callback on `window`:
-    <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>
-
 ## The _feature_ Element
 
 If you use the CLI to build applications, you use the `plugin` command

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/es/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/es/edge/config_ref/index.md b/docs/es/edge/config_ref/index.md
index 19856d4..3bd6210 100644
--- a/docs/es/edge/config_ref/index.md
+++ b/docs/es/edge/config_ref/index.md
@@ -154,23 +154,6 @@ A más de una plataforma, pero no a todos ellos se aplican 
las siguientes prefer
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    Para iOS, orientación se puede controlar mediante programación por 
definir un callback de javascript en la `window`:
-
-<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>
-
 ## La *función de* elemento
 
 Si utilizas el CLI para construir aplicaciones, usted utilice el comando 
`plugin` para habilitar dispositivo APIs. No se modifique el archivo 
`config.xml` de nivel superior, por lo que el elemento `< feature >` no se 
aplica a su flujo de trabajo. Si trabajas directamente en un SDK y usando el 
archivo `config.xml` de específicas de la plataforma como fuente, se utiliza 
la etiqueta `< feature >` para habilitar APIs de nivel de dispositivo y plugins 
externos. A menudo aparecen con valores personalizados en archivos específicos 
para cada plataforma `config.xml` . Por ejemplo, aquí es cómo especificar el 
dispositivo API para los proyectos de Android:

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/fr/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/fr/edge/config_ref/index.md b/docs/fr/edge/config_ref/index.md
index fb559fa..b99e19e 100644
--- a/docs/fr/edge/config_ref/index.md
+++ b/docs/fr/edge/config_ref/index.md
@@ -154,23 +154,6 @@ Les préférences suivantes s'appliquent à plus d'une 
plate-forme, mais pas tou
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    Pour iOS, orientation peut être contrôlée par programmation en 
définissant un rappel javascript sur `window`:
-
-<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>
-
 ## La *fonctionnalité* élément
 
 Si vous utilisez la CLI pour créer des applications, vous utilisez la 
commande `plugin` pour activer le dispositif API. Cela ne modifie pas le 
fichier de niveau supérieur `config.xml` , aussi l'élément `< feature >` 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 `config.xml` fichier source, vous utilisez le `<feature>` 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 `config.xml` . Par exemple, voici comment 
spécifier l'API Device pour les projets Android :

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/it/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/it/edge/config_ref/index.md b/docs/it/edge/config_ref/index.md
index 04a11da..f05f7fc 100644
--- a/docs/it/edge/config_ref/index.md
+++ b/docs/it/edge/config_ref/index.md
@@ -154,23 +154,6 @@ Per più di una piattaforma, ma non a tutte le, si 
applicano le seguenti prefere
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    Per iOS, orientamento può essere controllato a livello di codice mediante 
la definizione di un callback javascript sulla `window`:
-
-<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>
-
 ## La *funzione di* elemento
 
 Se si utilizza la CLI per costruire applicazioni, si utilizza il comando 
`plugin` per abilitare dispositivo API. Questo non modifica il file di primo 
livello `config. XML` , quindi l'elemento `< feature >` non si applica al 
vostro flusso di lavoro. Se si lavora direttamente in un SDK e utilizzando il 
file di specifica della piattaforma `config. XML` come origine, si utilizza il 
tag `< feature >` abilitare dispositivo-livello API e plugin esterni. Essi 
appaiono spesso con i valori personalizzati nel file specifici della 
piattaforma `config. XML` . Ad esempio, ecco come specificare il Device API per 
progetti Android:

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/ja/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/config_ref/index.md b/docs/ja/edge/config_ref/index.md
index 1378911..e586561 100644
--- a/docs/ja/edge/config_ref/index.md
+++ b/docs/ja/edge/config_ref/index.md
@@ -154,23 +154,6 @@ Android と iOS の両方、iOS のため、2 
番目のバージョン文字列
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    IOS 用, 向きが`ウィンドウ`で javascript 
コールバックを定義することによってプログラム
で制御できます。
-
-<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>
-
 ## *機能*要素
 
 CLI を使用してアプリケーションを構築するå 
´åˆã¯ã€ãƒ‡ãƒã‚¤ã‚¹ Api 
を有効にする`プラグイン`コマンドを使用します。 
これは`< feature >`要素
は、ワークフローに適用されないのでトップレベルの`config.xml`ファイルを変更されません。
 直接で、SDK とソースとしてプラットフォーム
固有の`config.xml`ファイルを使用して作業するå 
´åˆã¯ã€ãƒ‡ãƒã‚¤ã‚¹ レベルの Api 
と外部プラグインを有効にする`< 機能 
>`タグを使用します。 彼らはしばしばプラットフォーム
固有の`config.xml`ファイルにカスタム値で表示されます。 
たとえば、ここでは Android プロジェクトのデバイス API 
を指定する方法です。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/ko/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/config_ref/index.md b/docs/ko/edge/config_ref/index.md
index b617f3a..5f8b7ae 100644
--- a/docs/ko/edge/config_ref/index.md
+++ b/docs/ko/edge/config_ref/index.md
@@ -154,23 +154,6 @@ CLI를 사용 하 여 프로젝트 빌드을이 파일의 
버전은 수 동적
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    IOS에 대 한 방향은 프로그래밍 방식으로 `창`에 자바 
스크립트 콜백을 정의 하 여 제어할 수 있습니다.
-
-<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>
-
 ## *기능* 요소
 
 CLI를 사용 하 여 응용 프로그램을 구축할 경우 장치 Api를 
설정 하려면 `플러그인` 명령을 사용 합니다. 이 `< 기능 >` 
요소 워크플로에 적용 되지 않습니다 그래서 최상위 
`config.xml` 파일을 수정 하지 않습니다. SDK 및 플랫폼 특정 
`config.xml` 파일을 사용 하 여 원본으로에서 직접 작업 하는 
경우 장치 수준 Api와 외부 플러그인을 사용 하려면 `< 기능 
>` 태그를 사용 합니다. 그들은 종종 플랫폼 특정 `config.xml` 
파일에서 사용자 지정 값으로 나타납니다. 예를 들어 
여기에 안 드 로이드 프로젝트에 대 한 장치 API를 지정 하는 
방법이입니다.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/pl/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/pl/edge/config_ref/index.md b/docs/pl/edge/config_ref/index.md
index 49d38f3..887b767 100644
--- a/docs/pl/edge/config_ref/index.md
+++ b/docs/pl/edge/config_ref/index.md
@@ -154,23 +154,6 @@ Następujące preferencje stosuje się do więcej niż 
jednej platformy, ale nie
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    Dla iOS orientację można programowo kontrolowane przez definiowanie 
wywołania zwrotnego javascript na `windows`:
-
-<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>
-
 ## *Funkcja* elementu
 
 Jeśli używasz CLI do tworzenia aplikacji, należy użyć polecenia `plugin` 
aby umożliwić API urządzeń. To nie modyfikuje plik najwyższego poziomu 
`pliku config.xml` , więc element `< feature >` nie stosuje się do pracy. 
Jeśli pracujesz bezpośrednio w SDK i przy użyciu pliku platformy `plik 
config.xml` jako źródła, używasz tagu `< feature >` włączyć urządzenie 
na poziomie API i zewnętrznych wtyczek. Często pojawiają się z wartości 
niestandardowe w pliki specyficzne dla platformy `pliku config.xml` . Na 
przykład Oto jak określić API urządzenia Android projektów:

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/ru/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/config_ref/index.md b/docs/ru/edge/config_ref/index.md
index 6d45e8a..88a644f 100644
--- a/docs/ru/edge/config_ref/index.md
+++ b/docs/ru/edge/config_ref/index.md
@@ -149,22 +149,6 @@ license: Licensed to the Apache Software Foundation (ASF) 
under one
             <preference name="Orientation" value="all" />
         </platform>
     
-    Для iOS ориентацией можно программно 
управлять путем определения функции 
обратного вызова javascript в объекте `window`:
-     <pre>
-     /** 
-     * @param {Number} degree 
-     *     UIInterfaceOrientationPortrait: 0, 
-     *     UIInterfaceOrientationLandscapeRight: 90, 
-     *     UIInterfaceOrientationLandscapeLeft: -90, 
-     *     UIInterfaceOrientationPortraitUpsideDown: 180 
-     *
-     * @returns {Boolean} Определяет допускается ли 
поворот.
-     */
-    function shouldRotateToOrientation(degrees) {
-      return true;
-    }
-    </pre>
-
 ## Элемент *feature*
 
 При использовании командной строки для 
построения приложений, используйте 
команду `plugin`, чтобы включить API устройства. 
Это не изменяет файл `config.xml` верхнего 
уровня, так что элемент `<feature>` не 
применяется к вашему рабочему процессу. 
Если вы работаете непосредственно в SDK и 
используете специфический для платформы 
файл `config.xml` в качестве источника, 
используйте `<feature>` тег, чтобы включить API 
устройства и внешних плагинов. Эти 
элементы обычно присутствуют с разными 
значениями в платформо-зависимых файлах 
`config.xml`. К примеру, таким образом можно указ
 ать Device API для проектов Android:

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62731c5a/docs/zh/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/config_ref/index.md b/docs/zh/edge/config_ref/index.md
index b6b9972..086bba6 100644
--- a/docs/zh/edge/config_ref/index.md
+++ b/docs/zh/edge/config_ref/index.md
@@ -154,23 +154,6 @@ license: Licensed to the Apache Software Foundation (ASF) 
under one
             <preference name="Orientation" value="all" />
         </platform>
         
-    
-    IOS,通過`視窗`上定義 javascript 
回檔可以以程式設計方式控制方向:
-
-<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>
-
 ## *功能*元素
 
 如果你使用的 CLI 
來構建應用程式,您將使用`外掛程式`命令來啟用設備的 
Api。 這不修改頂級`config.xml`檔中,所以`< 功能 >`元素
並不適用于您的工作流。 如果您直接在 SDK 
和使用特定于平臺的`config.xml`檔作為源工作,你使用`< 功能 
>`標記啟用設備級 Api 和外部外掛程式。 
他們經常出現以特定于平臺的`config.xml`檔中的自訂值。 
例如,下面是如何指定設備 API 為 Android 專案:


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

Reply via email to