File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,11 @@ gulp.task('jshint', function() {
76
76
// jquery.js, modernizr.js, bootstrap.js
77
77
gulp . task ( 'scripts' , [ 'jshint' ] , function ( )
78
78
{
79
- return gulp . src ( [ 'src/scripts/main.js' ] )
79
+ return gulp . src ( [ 'src/scripts/**/*.js' ] )
80
+ . pipe ( sourcemaps . init ( ) )
81
+ . pipe ( concat ( "main.js" ) )
80
82
. pipe ( uglify ( ) )
83
+ . pipe ( sourcemaps . write ( "./" ) )
81
84
. pipe ( gulp . dest ( 'dist/scripts' ) ) ;
82
85
} ) ;
83
86
Original file line number Diff line number Diff line change 51
51
</ div >
52
52
</ nav >
53
53
54
+ < p > If you click on the "Hide" button, I will disappear.</ p >
55
+
56
+ < button id ="hide "> Hide</ button >
57
+ < button id ="show "> Show</ button >
58
+
59
+
60
+ < p > If you click on me, I will disappear.</ p >
61
+ < p > Click me away!</ p >
62
+ < p > Click me too!</ p >
54
63
<!-- Main jumbotron for a primary marketing message or call to action -->
55
64
< div class ="jumbotron ">
56
65
< div class ="container ">
You can’t perform that action at this time.
0 commit comments