Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 6367b30

Browse files
committed
Merge branch 'ErjanGavalji/apply-important-master-PRs' into production
2 parents aebf46c + d48dce3 commit 6367b30

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
lines changed

application-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The `application` module lets you manage the life cycle of your NativeScript app
1717

1818
## Start Application
1919

20-
You must call the **start** method of the application module after the module initialization.
20+
This method is required only for iOS applications.
2121

22-
This method is required for iOS applications.
22+
> **IMPORTANT:** You must call the `start` method of the application module **after** the module initialization. Any code after the `start` call will not be executed.
2323
2424
### Example
2525

navigation.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NativeScript apps consist of pages which represent the separate application scre
1818
* [Navigation](#navigation)
1919
* [The Topmost Frame](#the-topmost-frame)
2020
* [Navigate by Page Name](#navigate-by-page-name)
21-
* [Navigate with Factory Function](#navigate-with-factory-function)
21+
* [Navigate Using a Function](#navigate-using-a-function)
2222
* [Navigate and Pass Context](#navigate-and-pass-context)
2323
* [Navigate without History](#navigate-without-history)
2424
* [Navigate Back](#navigate-back)
@@ -123,11 +123,11 @@ To navigate between pages, you can use the [`navigate`](ApiReference/ui/frame/RE
123123

124124
In addition, each `Page` instance carries information about the frame object which navigated to it in the `frame` property. This lets you navigate with the `frame` property as well.
125125

126+
126127
### The Topmost Frame
127128

128-
The topmost frame is the frame at the root level. When navigating inside your app, you can do it with the topmost frame.
129+
The topmost frame is the root-level container for your app's UI and you can use it to navigate inside of your app. You can get a reference to this frame by using the `topmost()` method of the Frame module.
129130

130-
You can get the topmost frame with the `topmost()` method of the Frame module.
131131

132132
``` JavaScript
133133
var frameModule = require("ui/frame");
@@ -138,9 +138,12 @@ import frameModule = require("ui/frame");
138138
var topmost = frameModule.topmost();
139139
```
140140

141+
There are several ways to perform navigation and which one to use depends on the needs of your app.
142+
143+
141144
### Navigate by Page Name
142145

143-
You can navigate to the topmost frame of a page specified by its file name.
146+
Perhaps the simplest way to navigate is by specifying the file name of the page to which you want to navigate.
144147

145148
``` JavaScript
146149
topmost.navigate("details-page");
@@ -149,9 +152,9 @@ topmost.navigate("details-page");
149152
topmost.navigate("details-page");
150153
```
151154

152-
### Navigate with Factory Function
155+
### Navigate with a Function
153156

154-
You can specify the page to which you want to navigate by a factory function which returns the page instance.
157+
A more dynamic way of navigating can be done by providing a function that returns the instance of the page to which you want to navigate.
155158

156159
``` JavaScript
157160
var factoryFunc = function () {

setup/ab-setup/ab-cli-setup.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
2323
* Windows 7 or later
2424
* .NET 4.0 or later
2525
* Node.js
26-
* (Windows 7 systems): Node.js 0.10.35 or a later stable 0.x release.<br/>
27-
* (Windows 8 and later systems): Node.js 0.12.7 or a later stable 0.x release<br/>A [known issue](https://github.com/SBoudrias/Inquirer.js/issues/235) in Inquirer.js prevents the interactive prompts from working properly in `cmd` shells on Windows 8 or later systems with Node.js 0.10.x.
26+
* (Windows 7 systems): The latest Node.js 0.10.x or 0.12.x stable official release
27+
* (Windows 8 and later systems): The latest Node.js 0.12.x stable official release
2828
* (Optional) For iOS development
2929
* (Latest official) iTunes<br/>The bitness of Node.js and iTunes must match.
3030
* (Optional) For Android development with the native emulators
@@ -38,10 +38,7 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
3838

3939
1. In your browser, navigate to [https://platform.telerik.com](https://platform.telerik.com) and log in.
4040
1. If you do not have a Telerik account, you can log in with a social provider of your choice and begin a Telerik Platform trial.<br/>With the Telerik Platform trial, you can use the AppBuilder CLI.
41-
1. Install [Node.js](http://nodejs.org).
42-
1. Go to [http://nodejs.org](http://nodejs.org) and click **Install**.
43-
1. If prompted, confirm the download.
44-
1. After the download completes, run the installer and complete the installation.
41+
1. Download and install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
4542
1. Install [Chocolatey](https://chocolatey.org) to simplify the installation and configuration of the Android tools and SDKs.
4643
1. Run the command prompt as an Administrator.
4744
1. Copy and paste the following script in the command prompt.
@@ -106,7 +103,7 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
106103

107104
* Telerik account
108105
* OS X Mavericks or later
109-
* Node.js 0.10.35 or a later stable 0.x release
106+
* The latest Node.js 0.10.x or 0.12.x stable official release
110107
* (Optional) Homebrew to simplify the installation of dependencies
111108
* For iOS development
112109
* Xcode 5 or later
@@ -125,7 +122,7 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
125122
```Shell
126123
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
127124
```
128-
1. Install [Node.js 0.10.35](http://nodejs.org) or a later stable 0.x official release.
125+
1. Install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
129126

130127
```Shell
131128
brew install node
@@ -202,7 +199,7 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
202199

203200
* Telerik account
204201
* Ubuntu 14.04 LTS
205-
* Node.js 0.10.35 or a later stable 0.x release
202+
* The latest Node.js 0.10.x or 0.12.x stable official release
206203
* G++ compiler
207204
* (Optional) For Android development with the native emulators
208205
* JDK 8 or a later stable official release
@@ -214,7 +211,7 @@ With this IDE, you can develop for Android and iOS on Windows, OS X or Linux.
214211
1. In your browser, navigate to [https://platform.telerik.com](https://platform.telerik.com) and log in.
215212
1. If you do not have a Telerik account, you can log in with a social provider of your choice and begin a Telerik Platform trial.<br/>With the Telerik Platform trial, you can use the AppBuilder CLI.
216213
1. Run the terminal.
217-
1. Install [Node.js](http://nodejs.org).
214+
1. Install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
218215

219216
> **TIP:** You can follow the instructions provided [here](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) to install Node.js on your system.
220217

setup/ns-cli-setup/ns-setup-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ On Linux systems, you can use the NativeScript CLI to develop only Android apps.
1717
## System Requirements
1818

1919
* Ubuntu 14.04 LTS
20-
* Node.js 0.10.35 or a later stable 0.x release
20+
* The latest Node.js 0.10.x or 0.12.x stable official release
2121
* G++ compiler
2222
* JDK 8 or a later stable official release
2323
* Android SDK 22 or a later stable official release
@@ -30,7 +30,7 @@ On Linux systems, you can use the NativeScript CLI to develop only Android apps.
3030
## Setup
3131

3232
1. Run the terminal.
33-
1. Install [Node.js](https://nodejs.org/dist/latest-v0.12.x/).
33+
1. Install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
3434
1. If you are running on a 64-bit system, install the runtime libraries for the ia32/i386 architecture.
3535

3636
```Shell

setup/ns-cli-setup/ns-setup-os-x.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ On OS X systems, you can use the NativeScript CLI to develop Android and iOS app
1717
## System Requirements
1818

1919
* OS X Mavericks or later
20-
* Node.js 0.10.35 or a later stable 0.x release
20+
* The latest Node.js 0.10.x or 0.12.x stable official release
2121
* (Optional) Homebrew to simplify the installation of dependencies
2222
* For iOS development
2323
* Latest Xcode
@@ -38,7 +38,7 @@ On OS X systems, you can use the NativeScript CLI to develop Android and iOS app
3838
```Shell
3939
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
4040
```
41-
1. Install [Node.js 0.10.35](http://nodejs.org) or a later 0.12 official release.
41+
1. Install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
4242

4343
```Shell
4444
brew install node

setup/ns-cli-setup/ns-setup-win.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ On Windows systems, you can use the NativeScript CLI to develop only Android app
1717
## System Requirements
1818

1919
* Windows Vista or later
20-
* Node.js 0.10.35 or a later stable 0.x release
20+
* The latest Node.js 0.10.x or 0.12.x stable official release
2121
* (Optional) Chocolatey to simplify the installation of dependencies
2222
* JDK 8 or a later stable official release
2323
* Android SDK 22 or a later stable official release
@@ -27,7 +27,7 @@ On Windows systems, you can use the NativeScript CLI to develop only Android app
2727

2828
## Setup
2929

30-
1. Install [Node.js](https://nodejs.org/dist/latest-v0.12.x/).
30+
1. Install the latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) stable official release.
3131
1. Install [Chocolatey](https://chocolatey.org) to simplify the installation and configuration of the Android tools and SDKs.
3232
1. Run the command prompt as an Administrator.
3333
1. Copy and paste the following script in the command prompt.

ui-with-xml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ When you set the `mainModule`, the NativeScript navigation framework looks for a
5454
var application = require("application");
5555
// Set the start module for the application
5656
application.mainModule = "my-page";
57-
// Start the application
57+
// Start the application. Don't place any code after this line.
5858
application.start();
5959
```
6060
```TypeScript
6161
import application = require("application");
6262
// Set the start module for the application
6363
application.mainModule = "my-page";
64-
// Start the application
64+
// Start the application. Don't place any code after this line.
6565
application.start();
6666
```
6767

0 commit comments

Comments
 (0)