// jQuery
$(document).ready(function() {
// code
})
This file contains hidden or 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
export function getNumberSIPrefix(x, options = {}) { | |
const FLOAT_POINT = options.floatLength || 1; | |
const METIRC_GAP = options.metircGap || 1; | |
const UNITS_STRING = [ | |
'million', | |
'billion', | |
'trillion', | |
'quadrillion', | |
'quintillion', | |
'sextillion', |
This file contains hidden or 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
/* | |
* 쉼표 단위의 숫자로 아웃픗을 내야 하는 헬퍼 | |
*/ | |
export function numberWithCommas(x) { | |
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); | |
} |
This file contains hidden or 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
/* | |
* [A,B,C,D] 배열이 있을 때 | |
* 'A, B, C and D' 형태로 영어에서 여러가지 문자들을 나열할 때 필요한 | |
* 아웃풋을 내 주는 헬퍼 | |
*/ | |
export function getEnglishListUpString(x) { | |
return x.join(', ').replace(/, ([^, ]*)$/, ' and $1'); | |
} |
This file contains hidden or 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
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
rename = require('gulp-rename'), | |
cssmin = require('gulp-cssnano'), | |
prefix = require('gulp-autoprefixer'), | |
plumber = require('gulp-plumber'), | |
notify = require('gulp-notify'), | |
sassLint = require('gulp-sass-lint'), | |
sourcemaps = require('gulp-sourcemaps'); | |
// Temporary solution until gulp 4 |
This file contains hidden or 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
packages: | |
yum: | |
cups-libs: [] | |
dbus-glib: [] | |
libXrandr: [] | |
libXcursor: [] | |
libXinerama: [] | |
cairo: [] | |
cairo-gobject: [] | |
pango: [] |
This file contains hidden or 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
(function() { | |
if (!Event.prototype.preventDefault) { | |
Event.prototype.preventDefault=function() { | |
this.returnValue=false; | |
}; | |
} | |
if (!Event.prototype.stopPropagation) { | |
Event.prototype.stopPropagation=function() { | |
this.cancelBubble=true; | |
}; |
This file contains hidden or 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
One-pager / Scroll: | |
- http://www.leannebentley.co.uk/ | |
- http://forrestlesssleepers.com/ | |
- http://swaywater.com/ | |
- http://mediacityseoul.kr/2016/pre/ | |
- https://ustwo.com/ | |
- http://mailchimp.com/2015/ | |
- http://molamil.com/ | |
- http://www.watchyulelog.com/#/ | |
- http://www.creationsnamale.com/ |