diff --git a/topics/00. Course-introduction/README.md b/Topics-old/00. Course-introduction/README.md similarity index 100% rename from topics/00. Course-introduction/README.md rename to Topics-old/00. Course-introduction/README.md diff --git a/topics/00. Course-introduction/slides/README.md b/Topics-old/00. Course-introduction/slides/README.md similarity index 100% rename from topics/00. Course-introduction/slides/README.md rename to Topics-old/00. Course-introduction/slides/README.md diff --git a/topics/00. Course-introduction/slides/img/operator-table.png b/Topics-old/00. Course-introduction/slides/img/operator-table.png similarity index 100% rename from topics/00. Course-introduction/slides/img/operator-table.png rename to Topics-old/00. Course-introduction/slides/img/operator-table.png diff --git a/topics/00. Course-introduction/slides/index.html b/Topics-old/00. Course-introduction/slides/index.html similarity index 100% rename from topics/00. Course-introduction/slides/index.html rename to Topics-old/00. Course-introduction/slides/index.html diff --git a/topics/00. Course-introduction/slides/open.js b/Topics-old/00. Course-introduction/slides/open.js similarity index 100% rename from topics/00. Course-introduction/slides/open.js rename to Topics-old/00. Course-introduction/slides/open.js diff --git a/topics/00. Course-introduction/slides/package.json b/Topics-old/00. Course-introduction/slides/package.json similarity index 100% rename from topics/00. Course-introduction/slides/package.json rename to Topics-old/00. Course-introduction/slides/package.json diff --git a/topics/01. Setup-NativeScript-environment/README.md b/Topics-old/01. Setup-NativeScript-environment/README.md similarity index 100% rename from topics/01. Setup-NativeScript-environment/README.md rename to Topics-old/01. Setup-NativeScript-environment/README.md diff --git a/topics/01. Setup-NativeScript-environment/slides/README.md b/Topics-old/01. Setup-NativeScript-environment/slides/README.md similarity index 100% rename from topics/01. Setup-NativeScript-environment/slides/README.md rename to Topics-old/01. Setup-NativeScript-environment/slides/README.md diff --git a/topics/01. Setup-NativeScript-environment/slides/img/operator-table.png b/Topics-old/01. Setup-NativeScript-environment/slides/img/operator-table.png similarity index 100% rename from topics/01. Setup-NativeScript-environment/slides/img/operator-table.png rename to Topics-old/01. Setup-NativeScript-environment/slides/img/operator-table.png diff --git a/topics/01. Setup-NativeScript-environment/slides/index.html b/Topics-old/01. Setup-NativeScript-environment/slides/index.html similarity index 100% rename from topics/01. Setup-NativeScript-environment/slides/index.html rename to Topics-old/01. Setup-NativeScript-environment/slides/index.html diff --git a/topics/01. Setup-NativeScript-environment/slides/open.js b/Topics-old/01. Setup-NativeScript-environment/slides/open.js similarity index 100% rename from topics/01. Setup-NativeScript-environment/slides/open.js rename to Topics-old/01. Setup-NativeScript-environment/slides/open.js diff --git a/topics/01. Setup-NativeScript-environment/slides/package.json b/Topics-old/01. Setup-NativeScript-environment/slides/package.json similarity index 100% rename from topics/01. Setup-NativeScript-environment/slides/package.json rename to Topics-old/01. Setup-NativeScript-environment/slides/package.json diff --git a/topics/02. Application-architecture/README.md b/Topics-old/02. Application-architecture/README.md similarity index 100% rename from topics/02. Application-architecture/README.md rename to Topics-old/02. Application-architecture/README.md diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/Thumbs.db b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/Thumbs.db old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/Thumbs.db rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/Thumbs.db diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/icon.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/icon.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/icon.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-hdpi/icon.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/Thumbs.db b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/Thumbs.db old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/Thumbs.db rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/Thumbs.db diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/icon.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/icon.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/icon.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-ldpi/icon.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/Thumbs.db b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/Thumbs.db old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/Thumbs.db rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/Thumbs.db diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/icon.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/icon.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/icon.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-mdpi/icon.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/Thumbs.db b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/Thumbs.db old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/Thumbs.db rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/Thumbs.db diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-568h@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-568h@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-568h@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-568h@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-667h@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-667h@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-667h@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-667h@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-736h@3x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-736h@3x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-736h@3x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-736h@3x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-568h@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-568h@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-568h@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-568h@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-667h@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-667h@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-667h@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape-667h@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@3x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@3x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@3x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Landscape@3x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default-Portrait@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Default@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small-50@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/Icon-Small@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-40@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-60@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-72@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon-76@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon@2x.png b/Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon@2x.png old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon@2x.png rename to Topics-old/02. Application-architecture/demos/MyApp/app/App_Resources/iOS/icon@2x.png diff --git a/topics/02. Application-architecture/demos/MyApp/app/app.css b/Topics-old/02. Application-architecture/demos/MyApp/app/app.css old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/app.css rename to Topics-old/02. Application-architecture/demos/MyApp/app/app.css diff --git a/topics/02. Application-architecture/demos/MyApp/app/app.js b/Topics-old/02. Application-architecture/demos/MyApp/app/app.js old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/app.js rename to Topics-old/02. Application-architecture/demos/MyApp/app/app.js diff --git a/topics/02. Application-architecture/demos/MyApp/app/package.json b/Topics-old/02. Application-architecture/demos/MyApp/app/package.json old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/package.json rename to Topics-old/02. Application-architecture/demos/MyApp/app/package.json diff --git a/topics/02. Application-architecture/demos/MyApp/app/references.d.ts b/Topics-old/02. Application-architecture/demos/MyApp/app/references.d.ts old mode 100755 new mode 100644 similarity index 100% rename from topics/02. Application-architecture/demos/MyApp/app/references.d.ts rename to Topics-old/02. Application-architecture/demos/MyApp/app/references.d.ts diff --git a/topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.js b/Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.js old mode 100755 new mode 100644 similarity index 96% rename from topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.js rename to Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.js index 5674434..0bae9fb --- a/topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.js +++ b/Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.js @@ -1,31 +1,31 @@ -var observable = require("data/observable"); -var frameModule = require("ui/frame"); - -var pageModules = (function() { - - var topmost; - var pageModules = { - - onNavigatedTo: function(args) { - var page = args.object; - page.bindingContext = page.navigationContext; - topmost = frameModule.topmost(); - }, - - // Navigating with context. - navWithContext: function() { - var navigationEntry = { - moduleName: "./views/main/main-page", - animated: false - }; - - topmost.navigate(navigationEntry); - } - } - - return pageModules; -})(); - - -exports.navWithContext = pageModules.navWithContext; -exports.onNavigatedTo = pageModules.onNavigatedTo; +var observable = require("data/observable"); +var frameModule = require("ui/frame"); + +var pageModules = (function() { + + var topmost; + var pageModules = { + + onNavigatedTo: function(args) { + var page = args.object; + page.bindingContext = page.navigationContext; + topmost = frameModule.topmost(); + }, + + // Navigating with context. + navWithContext: function() { + var navigationEntry = { + moduleName: "./views/main/main-page", + animated: false + }; + + topmost.navigate(navigationEntry); + } + } + + return pageModules; +})(); + + +exports.navWithContext = pageModules.navWithContext; +exports.onNavigatedTo = pageModules.onNavigatedTo; diff --git a/topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml b/Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml old mode 100755 new mode 100644 similarity index 97% rename from topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml rename to Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml index bb96bbd..f944348 --- a/topics/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml +++ b/Topics-old/02. Application-architecture/demos/MyApp/app/views/context/context-page.xml @@ -1,7 +1,7 @@ - - -