List of incompetent jackasses who can't check a source if their lives depended on it:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
window.onscroll = scroll; | |
function scroll () { | |
var scrollTop = window.pageYOffset; | |
console.log(scrollTop); | |
if( scrollTop > 363 ){ | |
document.getElementById('summary').style.top="20px"; | |
document.getElementById('summary').style.position="fixed"; | |
} | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('css-browsersync', function() { | |
return gulp.src(["*.scss"]) | |
.pipe(sass().on('error', function(err) { | |
console.error(err.message); | |
browserSync.notify(err.message, 3000); // Display error in the browser | |
this.emit('end'); // Prevent gulp from catching the error and exiting the watch process | |
})) | |
.pipe(gulp.dest("public/")) | |
.pipe(browserSync.stream()); | |
}); |