diff --git a/website/css/protractor.less b/website/css/protractor.less index 0ee3d0905..8995d21b8 100644 --- a/website/css/protractor.less +++ b/website/css/protractor.less @@ -1,5 +1,5 @@ @import 'prettify.css'; -@import 'bootstrap.min.css'; +@import '../bower_components/bootstrap/dist/css/bootstrap.min.css'; @protractor-red: #e23237; @protractor-red-dark: #b52e31; diff --git a/website/gulpfile.js b/website/gulpfile.js index 4ca334795..262f033df 100644 --- a/website/gulpfile.js +++ b/website/gulpfile.js @@ -17,7 +17,9 @@ var paths = { html: ['index.html', 'partials/*.html'], js: [ 'js/modules.js', - 'js/**/*.js' + 'js/**/*.js', + 'bower_components/bootstrap/dist/js/bootstrap.min.js', + 'bower_components/lodash/dist/lodash.min.js' ], less: ['css/protractor.less'], outputDir: 'build/' @@ -42,16 +44,6 @@ gulp.task('dgeni', function() { }); }); -gulp.task('copyBowerFiles', function() { - // Bootstrap, lodash. - gulp.src([ - 'bower_components/bootstrap/dist/js/bootstrap.min.js', - 'bower_components/lodash/dist/lodash.min.js' - ]).pipe(gulp.dest(paths.outputDir + '/js')); - gulp.src('bower_components/bootstrap/dist/css/bootstrap.min.css') - .pipe(gulp.dest(paths.outputDir + '/css')); -}); - gulp.task('copyFiles', function() { // html. gulp.src('index.html') @@ -135,6 +127,5 @@ gulp.task('default', [ 'less', 'markdown', 'js', - 'copyFiles', - 'copyBowerFiles' + 'copyFiles' ]); diff --git a/website/index.html b/website/index.html index da4e39fec..766c8986f 100644 --- a/website/index.html +++ b/website/index.html @@ -5,7 +5,6 @@ -