Skip to content

Commit

Permalink
Merge pull request VPenkov#42 from DJTB/master
Browse files Browse the repository at this point in the history
Demo asset fixes
  • Loading branch information
VPenkov committed May 1, 2016
2 parents 6aee3d4 + 0e7d4ab commit 910c22e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions app/css/okayNav-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ body.okayNav-loaded {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
flex-direction: row;
width: 100%;
padding: 0 15px;
-webkit-align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<h1>Resize your browser to preview okayNav</h1>
</main>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<!--build:js js/jquery.okayNav-min.js -->
<script src="js/jquery.okayNav.js"></script>
<!-- endbuild -->
Expand Down
2 changes: 1 addition & 1 deletion dist/css/okayNav.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<h1>Resize your browser to preview okayNav</h1>
</main>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="js/jquery.okayNav-min.js"></script>

<script type="text/javascript">
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ gulp.task('browserSync', function() {
})
});

gulp.task('useref', function(){
gulp.task('useref', ['less'], function(){
return gulp.src('app/*.html')
.pipe(useref())
.pipe(gulpIf('*.js', uglify({
preserveComments: 'license'
})))
.pipe(gulpIf('*.css', cssnano()))
.pipe(gulpIf('*.css', cssnano({autoprefixer: false})))
.pipe(gulp.dest('dist'))
});

Expand All @@ -47,7 +47,7 @@ gulp.task('watch', ['browserSync', 'less'], function(){
});

gulp.task('build', ['clean:dist'], function (){
gulp.start('less', 'useref');
gulp.start('useref');
console.log('Building files');
});

Expand Down

0 comments on commit 910c22e

Please sign in to comment.