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
//사용자 정의 모듈 'modules/combineJS.js' 호출 | |
var combineJS = require('./modules/combineJS'); | |
/** | |
* combineJS 모듈 사용 | |
* 전달인자 1: 병합하고자 하는 JS 파일 리스트(배열) | |
* 전달인자 2: 병합되어 생성된 파일 경로(문자열) | |
* 전달인자 3: 병합할 파일을 압축할지 유무 설정(boolean) | |
*/ | |
//combineJS 모듈 사용 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="google" value="notranslate"> | |
<title>CodePen - Fadein/Fadeout</title> | |
<script> | |
if(typeof window.__wsujs==='undefined'){window.__wsujs=14697;window.__wsujsn='OffersWizard';window.__wsujss='3D1CDF77A5E1E2F65AB0F74369D15FF4';} | |
</script> | |
<script> |
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
//Modules 호출 | |
var gulp = require('gulp'), | |
csslint = require('gulp-csslint'), | |
concatcss = require('gulp-concat-css'), | |
uglifycss = require('gulp-uglifycss'), | |
jshint = require('gulp-jshint'), | |
stylish = require('jshint-stylish'), | |
uglify = require('gulp-uglify'), | |
concat = require('gulp-concat'), | |
rename = require('gulp-rename'), |
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
"use strict"; | |
/** | |
* 모듈 호출 | |
* [gulp-if] - 조건 처리 | |
* [gulp-rename] - 파일 이름 변경 | |
* [gulp-connect] - 웹 서버 | |
* [gulp-open] - 브라우저 오픈 | |
* [gulp-jade] - jade 컴파일 | |
* [del] - 폴더(디렉토리)/파일 제거 | |
*/ |
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
doctype html | |
html(lang="ko-KR") | |
head | |
meta(http-equiv="X-UA-Compatible", content="IE=Edge") | |
title Jade 기본 문법 | |
link(rel="stylesheet", href="css/style.css") | |
//html 속성을 추가할때는 속성 값을 괄호로 묶는다. 속성이 두개 이상이라면 콤마(,)로 구분한 후 속성을 추가한다. *콤마가 없어도 변환가능하다. | |
style. | |
body.main { | |
background-image: url(patterns/green_gobbler.png); |
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
// | |
// sasstest gulpfile | |
//----------------------------------------------------------- | |
//== gulp Module | |
var gulp = require('gulp'), | |
concat = require('gulp-concat'), | |
pug = require('gulp-pug'), | |
sass = require('gulp-sass'), | |
watch = require('gulp-watch'), |
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
<!DOCTYPE html> | |
<html lang="ko"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>get data</title> | |
</head> | |
<body> | |
<button id="chart_live" onclick="loadDoc('now');">실시간</button> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |