Skip to content

Commit 7b14edb

Browse files
committed
Footer 크로스 브라우징 (파폭 고마워!)
1 parent d955352 commit 7b14edb

3 files changed

Lines changed: 26 additions & 18 deletions

File tree

website/gulpfile.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
"use strict";
1+
'use strict';
22

33
// 필요한 모듈선언
4-
const gulp = require("gulp");
5-
const sass = require("gulp-sass");
6-
const plumber = require("gulp-plumber");
7-
const notify = require("gulp-notify");
4+
const gulp = require('gulp');
5+
const sass = require('gulp-sass');
6+
const plumber = require('gulp-plumber');
7+
const notify = require('gulp-notify');
88

99
function errorAlert(error) {
1010
notify.onError({
11-
title: "Gulp Error",
12-
message: "Check your terminal",
13-
sound: "Purr"
11+
title: 'Gulp Error',
12+
message: 'Check your terminal',
13+
sound: 'Purr',
1414
})(error); //Error Notification
1515
console.log(error.toString()); //Prints Error to Console
16-
this.emit("end"); //End function
16+
this.emit('end'); //End function
1717
}
1818

1919
/**
2020
* watch
2121
*/
22-
gulp.task("scss-watch", function() {
23-
gulp.watch(["./static/scss/**/*.scss"], ["scss"]);
22+
gulp.task('scss-watch', function() {
23+
gulp.watch(['./static/scss/**/*.scss'], ['scss']);
2424
});
2525

2626
/**
2727
* SASS
2828
*/
29-
gulp.task("scss", function() {
29+
gulp.task('scss', function() {
3030
gulp
31-
.src("static/scss/custom.scss")
32-
.pipe(plumber({ errorHandler: errorAlert }))
33-
.pipe(sass({ outputStyle: "compressed" }))
34-
.pipe(gulp.dest("./static/css"));
31+
.src('static/scss/custom.scss')
32+
.pipe(plumber({errorHandler: errorAlert}))
33+
.pipe(sass({outputStyle: 'compressed'}))
34+
.pipe(gulp.dest('./static/css'));
3535
});
3636

3737
// 걸프 기본 타스크
38-
gulp.task("default", ["scss-watch"], function() {
38+
gulp.task('default', ['scss-watch'], function() {
3939
return true;
4040
});

0 commit comments

Comments
 (0)