Skip to content

Commit b6d69ee

Browse files
committed
Corrected some paths
1 parent 31f7e88 commit b6d69ee

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

demo/scripts/demo/scaffolding.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ angular.module('demo')
1111
},
1212
data: {
1313
css: {
14-
root: '/styles/demo/core.css'
14+
root: 'styles/demo/core.css'
1515
}
1616
}
1717
})
@@ -20,7 +20,7 @@ angular.module('demo')
2020
url: '/home',
2121
templateUrl: 'views/demo/pages/home.html',
2222
data: {
23-
css: '/styles/demo/pages/home.css'
23+
css: 'styles/demo/pages/home.css'
2424
}
2525
})
2626
.state('root.demo.about', {
@@ -29,15 +29,15 @@ angular.module('demo')
2929
templateUrl: 'views/demo/pages/about.html',
3030
data: {
3131
css: {
32-
about: '/styles/demo/pages/about.css'
32+
about: 'styles/demo/pages/about.css'
3333
}
3434
}
3535
})
3636
.state('root.demo.about.me', {
3737
url: '/me',
3838
templateUrl: 'views/demo/pages/about-me.html',
3939
data: {
40-
css: ['/styles/demo/pages/about-me.css']
40+
css: ['styles/demo/pages/about-me.css']
4141
}
4242
})
4343
.state('root.demo.about.the-project', {
@@ -46,15 +46,15 @@ angular.module('demo')
4646
data: {
4747
css: {
4848
about: null,
49-
aboutTheProject: '/styles/demo/pages/about-the-project.css'
49+
aboutTheProject: 'styles/demo/pages/about-the-project.css'
5050
}
5151
}
5252
})
5353
.state('root.demo.contact', {
5454
url: '/contact',
5555
templateUrl: 'views/demo/pages/contact.html',
5656
data: {
57-
css: ['/styles/demo/pages/contact.css']
57+
css: ['styles/demo/pages/contact.css']
5858
}
5959
})
6060
.state('root.demo.contact.employee', {
@@ -68,9 +68,9 @@ angular.module('demo')
6868
},
6969
data: {
7070
css: {
71-
employeeCore: '/styles/demo/employees/core.css',
71+
employeeCore: 'styles/demo/employees/core.css',
7272
employee: ['$transition$', function($transition$) {
73-
return '/styles/demo/employees/' + $transition$.params().employee + '.css'
73+
return 'styles/demo/employees/' + $transition$.params().employee + '.css'
7474
}]
7575
}
7676
}
@@ -108,7 +108,7 @@ angular.module('demo')
108108
// if a theme has been previously set, remove it first
109109
removeThemeStylesheet();
110110

111-
$scope.theme.path = '/styles/demo/themes/' + $scope.theme.model + '.css';
111+
$scope.theme.path = 'styles/demo/themes/' + $scope.theme.model + '.css';
112112

113113
// inject the custom theme stylesheet and sae the reference
114114
currentThemeStylesheetReference = hlUiRouterCss.injectStyleDefinitions($scope.theme.path);

demo/views/api/services/state-provider.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4>Simple</h4>
1515
url: '/home',
1616
templateUrl: 'views/pages/home.html',
1717
data: {
18-
css: '/styles/pages/home.css'
18+
css: 'styles/pages/home.css'
1919
}
2020
})
2121
</pre>
@@ -32,7 +32,7 @@ <h4>Simple</h4>
3232
templateUrl: 'views/pages/home.html',
3333
data: {
3434
css: {
35-
home: '/styles/pages/home.css'
35+
home: 'styles/pages/home.css'
3636
}
3737
}
3838
}
@@ -47,7 +47,7 @@ <h4>Simple</h4>
4747
templateUrl: 'views/pages/home-child.html',
4848
data: {
4949
css: {
50-
home: '/styles/pages/home-child.css'
50+
home: 'styles/pages/home-child.css'
5151
}
5252
}
5353
}
@@ -79,7 +79,7 @@ <h4>Simple</h4>
7979
data: {
8080
css: {
8181
home: {
82-
url: '/styles/pages/home.css',
82+
url: 'styles/pages/home.css',
8383
colors: {
8484
heading: '#333333';
8585
}
@@ -97,7 +97,7 @@ <h4>Simple</h4>
9797
url: '/child',
9898
templateUrl: 'views/pages/home.html',
9999
data: {
100-
css: ['/styles/pages/home.css', '/styles/module/home.css']
100+
css: ['styles/pages/home.css', 'styles/module/home.css']
101101
}
102102
}
103103
</pre>
@@ -116,7 +116,7 @@ <h4>Advanced</h4>
116116
templateUrl: 'views/pages/contact.html',
117117
data: {
118118
css: ['$transition$', function($transition$) {
119-
return '/styles/demo/employees/' + $transition$.params().employee + '.css'
119+
return 'styles/demo/employees/' + $transition$.params().employee + '.css'
120120
}]
121121
}
122122
})
@@ -131,9 +131,9 @@ <h4>Advanced</h4>
131131
templateUrl: 'views/pages/contact.html',
132132
data: {
133133
css: {
134-
employeeCore: '/styles/demo/employees/core.css',
134+
employeeCore: 'styles/demo/employees/core.css',
135135
employee: ['$transition$', function($transition$) {
136-
return '/styles/demo/employees/' + $transition$.params().employee + '.css'
136+
return 'styles/demo/employees/' + $transition$.params().employee + '.css'
137137
}]
138138
}
139139
}

demo/views/demo/pages/about-the-project.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h3>About the project</h3>
1111
data: {
1212
css: {
1313
about: null,
14-
aboutTheProject: '/styles/demo/pages/about-the-project.css'
14+
aboutTheProject: 'styles/demo/pages/about-the-project.css'
1515
}
1616
}
1717
})

demo/views/demo/pages/contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h4>Array short-hand</h4>
2121
url: '/contact',
2222
templateUrl: 'views/demo/pages/contact.html',
2323
data: {
24-
css: ['/styles/demo/pages/contact.css']
24+
css: ['styles/demo/pages/contact.css']
2525
}
2626
});
2727
</pre>

demo/views/getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h3>Basic example</h3>
8383
templateUrl: 'views/pages/home.html',
8484
data: {
8585
css: {
86-
home: '/styles/pages/home.css'
86+
home: 'styles/pages/home.css'
8787
}
8888
}
8989
});

0 commit comments

Comments
 (0)