Skip to content

Commit e7a050f

Browse files
committed
remove foundation from codebase
1 parent 2899043 commit e7a050f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Include the dynamic routing modules and source code:
2121

2222
The `dynamicRouting` module can configure states in one of two ways:
2323

24-
1. Assign the state configurations to a `foundationRoutes` global variable
25-
2. Pass the state configurations to the `$FoundationStateProvider.registerDynamicRoutes` method during the config phase of your application
24+
1. Assign the state configurations to a `BaseAppsRoutes` global variable
25+
2. Pass the state configurations to the `$BaseAppsStateProvider.registerDynamicRoutes` method during the config phase of your application
2626

2727
## Modules
2828

dynamicRouting.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
'use strict';
33

44
angular.module('dynamicRouting', ['ui.router'])
5-
.provider('$FoundationState', FoundationState)
5+
.provider('$BaseAppsState', BaseAppsState)
66
.controller('DefaultController', DefaultController)
77
.config(DynamicRoutingConfig)
88
.run(DynamicRoutingRun)
99
;
1010

11-
FoundationState.$inject = ['$stateProvider'];
11+
BaseAppsState.$inject = ['$stateProvider'];
1212

13-
function FoundationState($stateProvider) {
13+
function BaseAppsState($stateProvider) {
1414
var complexViews = {};
1515

1616
this.registerDynamicRoutes = function(routes) {
@@ -141,13 +141,13 @@
141141
}
142142
}
143143

144-
DynamicRoutingConfig.$inject = ['$FoundationStateProvider'];
144+
DynamicRoutingConfig.$inject = ['$BaseAppsStateProvider'];
145145

146-
function DynamicRoutingConfig(FoundationStateProvider) {
146+
function DynamicRoutingConfig(BaseAppsStateProvider) {
147147
// Don't error out if Front Router is not being used
148148
var foundationRoutes = window.foundationRoutes || [];
149149

150-
FoundationStateProvider.registerDynamicRoutes(foundationRoutes);
150+
BaseAppsStateProvider.registerDynamicRoutes(foundationRoutes);
151151
}
152152

153153
DynamicRoutingRun.$inject = ['$rootScope', '$state', '$stateParams'];

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-dynamic-routing",
3-
"version": "1.0.1",
4-
"description": "Angular modules designed to use the output from Angular Front Router",
3+
"version": "1.1.0",
4+
"description": "Provides dynamic angular state definitions and animations",
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha"

0 commit comments

Comments
 (0)