-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big refactor, implementing build process
- Loading branch information
Showing
198 changed files
with
2,069 additions
and
176,737 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"directory": "www/lib" | ||
"directory": "vendor" | ||
} |
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 |
---|---|---|
|
@@ -10,5 +10,6 @@ playstore/ | |
*.sublime* | ||
*.keystore | ||
.idea/ | ||
vendor | ||
|
||
www/js/app.bundle.js | ||
www/dist/ |
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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,131 @@ | ||
angular.module('starter').config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) { | ||
|
||
$ionicConfigProvider.tabs.position("top"); | ||
//ionicConfigProvider.views.maxCache(0); | ||
|
||
// Ionic uses AngularUI Router which uses the concept of states | ||
// Learn more here: https://github.com/angular-ui/ui-router | ||
// Set up the various states which the app can be in. | ||
// Each state's controller can be found in controllers.js | ||
$stateProvider | ||
|
||
// setup an abstract state for the tabs directive | ||
.state('tab', { | ||
url: "/tab", | ||
abstract: true, | ||
templateUrl: "tabs.html", | ||
controller: 'TabCtrl' | ||
}) | ||
|
||
// Each tab has its own nav history stack: | ||
|
||
.state('tab.add', { | ||
url: '/add', | ||
views: { | ||
'tab-add': { | ||
templateUrl: 'tab-new.html', | ||
controller: 'AddCtrl' | ||
} | ||
} | ||
}) | ||
|
||
.state('tab.stats', { | ||
url: '/stats', | ||
views: { | ||
'tab-stats': { | ||
templateUrl: 'tab-stats.html', | ||
controller: 'StatsCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.stats-charts', { | ||
url: '/stats/charts', | ||
views: { | ||
'tab-stats': { | ||
templateUrl: 'stats-charts.html', | ||
controller: 'StatsChartsCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.list', { | ||
url: '/list', | ||
views: { | ||
'tab-list': { | ||
templateUrl: 'tab-list.html', | ||
controller: 'ListCtrl', | ||
resolve: { | ||
message: function (ListService) { | ||
return ListService.initListService(); | ||
} | ||
} | ||
} | ||
} | ||
}) | ||
.state('tab.list-day', { | ||
url: '/listday/:dayId', | ||
views: { | ||
'tab-list': { | ||
templateUrl: 'list-day.html', | ||
controller: 'ListDetailDayCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.list-detail', { | ||
url: '/list/:friendId', | ||
views: { | ||
'tab-list': { | ||
templateUrl: 'list-detail.html', | ||
controller: 'FriendDetailCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.settings', { | ||
url: '/settings', | ||
views: { | ||
'tab-settings': { | ||
templateUrl: 'tab-settings.html', | ||
controller: 'SettingsCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.settings-languages', { | ||
url: '/settings/languages', | ||
views: { | ||
'tab-settings': { | ||
templateUrl: 'settings-languages.html', | ||
controller: 'SettingsLanguagesCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.settings-backup', { | ||
url: '/settings/backup', | ||
views: { | ||
'tab-settings': { | ||
templateUrl: 'settings-backup.html', | ||
controller: 'SettingsBackupCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.settings-developer', { | ||
url: '/settings/developer', | ||
views: { | ||
'tab-settings': { | ||
templateUrl: 'settings-developer.html', | ||
controller: 'SettingsDeveloperCtrl' | ||
} | ||
} | ||
}) | ||
.state('tab.settings-help', { | ||
url: '/settings/help', | ||
views: { | ||
'tab-settings': { | ||
templateUrl: 'settings-help.html' | ||
} | ||
} | ||
}); | ||
|
||
|
||
// if none of the above states are matched, use this as the fallback | ||
$urlRouterProvider.otherwise('/tab/add'); | ||
|
||
}); |
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.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
angular.module('starter.controllers').controller('StatsCtrl', function($scope, Database, $timeout, $translate, SettingsService) { | ||
|
||
$scope.$on("$ionicView.beforeEnter", function( scopes, states ) { | ||
//alert('fuh'); | ||
}); | ||
}); |
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
File renamed without changes.
File renamed without changes.
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
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.
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
File renamed without changes.
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
File renamed without changes.
Oops, something went wrong.