-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # Visual Studio Template/Visual Studio Template/Visual Studio Template.csproj # Visual Studio Template/Visual Studio Template/bin/Debug/MultiplatformCordova_1_0_1.vsix # Visual Studio Template/Visual Studio Template/bin/Debug/extension.vsixmanifest # Visual Studio Template/Visual Studio Template/obj/Debug/Visual Studio Template.csproj.FileListAbsolute.txt # Visual Studio Template/Visual Studio Template/obj/Debug/Visual Studio Template.csproj.VsixDeployedFileListAbsolute.txt # Visual Studio Template/Visual Studio Template/obj/Debug/extension.vsixmanifest # Visual Studio Template/Visual Studio Template/source.extension.vsixmanifest
- Loading branch information
Showing
21 changed files
with
114 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
App/bld/ | ||
App/bin/ | ||
App/platforms/ | ||
App/plugins/ | ||
App/node_modules/ | ||
App/bower_components/ | ||
App/typings/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
module Constants { | ||
'use strict'; | ||
|
||
interface ISubPage { | ||
Path: string, | ||
Uri: string | ||
}; | ||
|
||
interface IPage { | ||
Module: string, | ||
Main: ISubPage, | ||
}; | ||
|
||
interface IHomePage extends IPage { | ||
Scroll: ISubPage | ||
} | ||
|
||
export interface IPaths { | ||
Core: string, | ||
Modules: string, | ||
Tabs: string, | ||
Side: IPage, | ||
Home: IHomePage, | ||
Actions: IPage, | ||
Buttons: IPage | ||
Side?: { | ||
Base: string, | ||
Left?: string, | ||
Right?: string | ||
}, | ||
Home: { | ||
Base: string, | ||
Scroll: string | ||
}, | ||
Actions: { | ||
Base: string | ||
}, | ||
Buttons: { | ||
Base: string | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,23 @@ | ||
module Constants { | ||
'use strict'; | ||
|
||
let base = 'tabs'; | ||
|
||
export let Paths: IPaths = { | ||
Core: 'core', | ||
Modules: 'modules/', | ||
Tabs: base, | ||
Tabs: 'tabs', | ||
Side: { | ||
Module: 'side', | ||
Main: { | ||
Path: base + '.left', | ||
Uri: 'left' | ||
} | ||
Base: 'side', | ||
Left: 'left' | ||
}, | ||
Home: { | ||
Module: 'home', | ||
Main: { | ||
Path: base + '.home', | ||
Uri: 'home' | ||
}, | ||
Scroll: { | ||
Path: base + '.scroll', | ||
Uri: 'scroll' | ||
} | ||
Base: 'home', | ||
Scroll: 'scroll' | ||
}, | ||
Actions: { | ||
Module: 'actions', | ||
Main: { | ||
Path: base + '.actions', | ||
Uri: 'actions' | ||
}, | ||
Base: 'actions' | ||
}, | ||
Buttons: { | ||
Module: 'buttons', | ||
Main: { | ||
Path: base + '.buttons', | ||
Uri: 'buttons' | ||
} | ||
Base: 'buttons' | ||
} | ||
}; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
module Actions { | ||
'use strict'; | ||
|
||
angular.module(Constants.Paths.Actions.Module, []) | ||
import Paths = Constants.Paths; | ||
let Page = Paths.Actions; | ||
|
||
angular.module(Page.Base, []) | ||
.config(statesConfiguration); | ||
|
||
function statesConfiguration( | ||
$stateProvider: ng.ui.IStateProvider | ||
): void { | ||
|
||
$stateProvider | ||
.state(Constants.Paths.Actions.Main.Path, { | ||
url: '/' + Constants.Paths.Actions.Main.Uri, | ||
.state(Paths.Tabs + '.' + Page.Base, { | ||
url: '/' + Page.Base, | ||
views: { | ||
'actions-tab': { | ||
controller: 'actionsController as vm', | ||
templateUrl: Constants.Paths.Modules + 'actions/views/' + Constants.Paths.Actions.Main.Uri + '.html' | ||
templateUrl: Paths.Modules + 'actions/views/actions.html' | ||
} | ||
} | ||
}); | ||
} | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
module Buttons { | ||
'use strict'; | ||
|
||
angular.module(Constants.Paths.Buttons.Module, []) | ||
import Paths = Constants.Paths; | ||
let Page = Paths.Buttons; | ||
|
||
angular.module(Page.Base, []) | ||
.config(statesConfiguration); | ||
|
||
function statesConfiguration( | ||
$stateProvider: ng.ui.IStateProvider | ||
): void { | ||
|
||
$stateProvider | ||
.state(Constants.Paths.Buttons.Main.Path, { | ||
url: '/' + Constants.Paths.Buttons.Main.Uri, | ||
.state(Paths.Tabs + '.' + Page.Base, { | ||
url: '/' + Page.Base, | ||
views: { | ||
'buttons-tab': { | ||
templateUrl: Constants.Paths.Modules + 'buttons/views/' + Constants.Paths.Buttons.Main.Uri + '.html' | ||
templateUrl: Paths.Modules + 'buttons/views/buttons.html' | ||
} | ||
} | ||
}); | ||
} | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Core { | ||
'use strict'; | ||
|
||
angular.module('core', []); | ||
angular.module(Constants.Paths.Core, []); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,6 @@ | |
} | ||
} | ||
|
||
angular.module('core') | ||
angular.module(Constants.Paths.Core) | ||
.service('loadingService', LoadingService); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
module Home { | ||
'use strict'; | ||
|
||
angular.module(Constants.Paths.Home.Module, []) | ||
import Paths = Constants.Paths; | ||
let Page = Paths.Home; | ||
|
||
angular.module(Page.Base, []) | ||
.config(statesConfiguration); | ||
|
||
function statesConfiguration( | ||
$stateProvider: ng.ui.IStateProvider | ||
): void { | ||
|
||
$stateProvider | ||
.state(Constants.Paths.Home.Main.Path, { | ||
url: '/' + Constants.Paths.Home.Main.Uri, | ||
.state(Paths.Tabs + '.' + Page.Base, { | ||
url: '/' + Page.Base, | ||
views: { | ||
'home-tab': { | ||
templateUrl: Constants.Paths.Modules + 'home/views/' + Constants.Paths.Home.Main.Uri + '.html' | ||
templateUrl: Paths.Modules + 'home/views/home.html' | ||
} | ||
} | ||
}) | ||
|
||
.state(Constants.Paths.Home.Scroll.Path, { | ||
url: '/' + Constants.Paths.Home.Scroll.Uri, | ||
.state(Paths.Tabs + '.' + Page.Scroll, { | ||
url: '/' + Page.Scroll, | ||
views: { | ||
'home-tab': { | ||
templateUrl: Constants.Paths.Modules + 'home/views/' + Constants.Paths.Home.Scroll.Uri + '.html' | ||
templateUrl: Paths.Modules + 'home/views/scroll.html' | ||
} | ||
} | ||
}); | ||
} | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
module Side { | ||
'use strict'; | ||
|
||
angular.module(Constants.Paths.Side.Module, []) | ||
import Paths = Constants.Paths; | ||
let Page = Paths.Side; | ||
|
||
angular.module(Page.Base, []) | ||
.config(statesConfiguration); | ||
|
||
function statesConfiguration( | ||
$stateProvider: ng.ui.IStateProvider | ||
): void { | ||
|
||
$stateProvider | ||
.state(Constants.Paths.Side.Main.Path, { | ||
url: '/' + Constants.Paths.Side.Main.Uri, | ||
.state(Paths.Tabs + '.' + Page.Left, { | ||
url: '/' + Page.Left, | ||
views: { | ||
'left-tab': { | ||
templateUrl: Constants.Paths.Modules + 'side/views/' + Constants.Paths.Side.Main.Uri + '.html' | ||
templateUrl: Paths.Modules + 'side/views/left.html' | ||
} | ||
} | ||
}); | ||
} | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
module Tabs { | ||
'use strict'; | ||
|
||
angular.module(Constants.Paths.Tabs, []) | ||
import Paths = Constants.Paths; | ||
|
||
angular.module(Paths.Tabs, []) | ||
.config(statesConfiguration); | ||
|
||
function statesConfiguration( | ||
$stateProvider: ng.ui.IStateProvider | ||
): void { | ||
$stateProvider | ||
.state(Constants.Paths.Tabs, { | ||
url: '/' + Constants.Paths.Tabs, | ||
.state(Paths.Tabs, { | ||
url: '/' + Paths.Tabs, | ||
abstract: true, | ||
templateUrl: Constants.Paths.Modules + 'tabs/templates/' + Constants.Paths.Tabs + '.html' | ||
templateUrl: Paths.Modules + 'tabs/templates/tabs.html' | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.