Skip to content

Commit 15a1aab

Browse files
committed
removed bower | updated owl-carousel & jQuery
1 parent 523f93d commit 15a1aab

13 files changed

+22599
-41
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/node_modules
2-
/bower_components
32
/_build

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ you should see some version info in return.<br><br>
2020

2121
<b>2. install global packages</b>(run on any directory)
2222

23-
npm install -g bower gulp marked node-gyp
23+
npm install -g gulp marked node-gyp
2424

2525
in case of mac, you might need to mention "sudo"<br><br>
2626

bower.json

-25
This file was deleted.

components/controllers/list.controller.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
ListController.$inject = ['$scope'];
88

99
function ListController($scope) {
10-
$scope.libs = ['NodeJS', 'AngularJS', 'GulpJS', 'Bower', 'jQuery', 'Bootstrap', 'font-awesome'];
10+
$scope.libs = [
11+
'NodeJS',
12+
'AngularJS',
13+
'GulpJS',
14+
'jQuery',
15+
'lodash',
16+
'Bootstrap',
17+
'font-awesome',
18+
'owl-carousel-2'
19+
];
1120
}
1221
})();

index.html

+8-9
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
<link rel="stylesheet" type="text/css" href="styles/bootstrap.css" />
2424
<link rel="stylesheet" type="text/css" href="styles/bootstrap-theme.css" />
2525
<link rel="stylesheet" type="text/css" href="styles/font-awesome.css" />
26-
<link rel="stylesheet" href="bower_components/OwlCarousel/owl-carousel/owl.carousel.css" />
26+
<link rel="stylesheet" type="text/css" href="styles/owl.carousel.css" />
27+
<link rel="stylesheet" type="text/css" href="styles/owl.theme.default.css" />
2728
<!-- Global CSS -->
2829
<link rel="stylesheet" type="text/css" href="styles/global.css" />
2930
<!-- Directive CSS -->
@@ -41,23 +42,22 @@
4142

4243
<!-- Vendors -->
4344
<!-- build:nonangularlibs js/nonangularlibs.js -->
44-
<script type="text/javascript" src="js/nonangular/jquery-1.11.2.min.js"></script>
45+
<script type="text/javascript" src="js/nonangular/jquery-3.2.1.js"></script>
4546
<script type="text/javascript" src="js/nonangular/bootstrap.js"></script>
4647
<!-- endbuild -->
4748

4849
<!-- Non-angular libraries -->
4950
<!-- build:libs js/libs.js -->
5051
<script type="text/javascript" src="js/nonangular/lodash.min.js"></script>
5152
<script type="text/javascript" src="js/scripts.js"></script>
52-
<script type="text/javascript" src="bower_components/OwlCarousel/owl-carousel/owl.carousel.min.js"></script>
5353
<!-- endbuild -->
5454

5555
<!-- Angular external libraries for application -->
5656
<!-- build:angularlibs js/angularlibs.js -->
57-
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
58-
<script type="text/javascript" src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
59-
<script type="text/javascript" src="bower_components/angular-resource/angular-resource.js"></script>
60-
<script type="text/javascript" src="bower_components/ngstorage/ngStorage.js"></script>
57+
<script type="text/javascript" src="node_modules/angular/angular.js"></script>
58+
<script type="text/javascript" src="node_modules/angular-ui-router/release/angular-ui-router.js"></script>
59+
<script type="text/javascript" src="node_modules/angular-resource/angular-resource.js"></script>
60+
<script type="text/javascript" src="node_modules/ngstorage/ngStorage.js"></script>
6161
<!-- endbuild -->
6262

6363
<!-- Angular components -->
@@ -81,8 +81,7 @@
8181

8282
<!-- Application sections -->
8383
<!-- build:mainapp js/mainapp.js -->
84-
85-
84+
<script type="text/javascript" src="js/nonangular/owl.carousel.js"></script>
8685
<!-- endbuild -->
8786

8887
<!-- templates from $templateCache -->

0 commit comments

Comments
 (0)