Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Doncho Minkov committed May 19, 2016
1 parent 568296d commit a539bfb
Show file tree
Hide file tree
Showing 1,043 changed files with 1,461 additions and 45,695 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
62 changes: 31 additions & 31 deletions ...s/MyApp/app/views/context/context-page.js → ...s/MyApp/app/views/context/context-page.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo">
<StackLayout>
<Label text="Nav with Context" textWrap="true" class="title" />
<Button text="Nav Back" tap="navWithContext" />
<Label text="{{ info }}" textWrap="true" class="message"/>
</StackLayout>
</Page>
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo">
<StackLayout>
<Label text="Nav with Context" textWrap="true" class="title" />
<Button text="Nav Back" tap="navWithContext" />
<Label text="{{ info }}" textWrap="true" class="message"/>
</StackLayout>
</Page>
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onLoaded" navigatedTo="onNavigatedTo">
<StackLayout>
<Label text="Nav with Page Name" textWrap="true" class="title" />
</StackLayout>
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onLoaded" navigatedTo="onNavigatedTo">
<StackLayout>
<Label text="Nav with Page Name" textWrap="true" class="title" />
</StackLayout>
</Page>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a539bfb

Please sign in to comment.