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 prefectures = [ | |
["", "選択して下さい"], | |
["北海道", "北海道"], | |
["青森県", "青森県"], | |
["岩手県", "岩手県"], | |
["宮城県", "宮城県"], | |
["秋田県", "秋田県"], | |
["山形県", "山形県"], | |
["福島県", "福島県"], | |
["茨城県", "茨城県"], |
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
<p>カンマ区切りで入力した値で option タグを生成。</p> | |
<textarea id="input-area" cols="30" rows="10"></textarea> | |
<button>Generate</button> | |
<div class="ret"></div> | |
<script> | |
// extract option list array from comma separated text | |
var extractArray = function() { |
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
#!/bin/sh | |
source "$(git --exec-path)/git-sh-setup" | |
# echo $GIT_DIR | |
# echo $GIT_OBJECT_DIRECTORY | |
EXPORT_FILENAME="diff-"`git rev-parse $1 | cut -b1-7`"-to-"`git rev-parse HEAD | cut -b1-7` | |
if [[ $# == 1 ]]; then | |
if [[ -n $(git rev-parse --verify --quiet $1) ]]; then |
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
# jQuery.TLA.coffee | |
# Ver: 0.1 | |
# | |
# タイムラインアニメーション | |
# | |
# | |
# 1. アニメーション要素の設定 | |
# TLA.setElements | |
# $wrapper: $('#wrapper') | |
# $line: $('<div></div>') |
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() { | |
var SizeComputer, _computeWidth; | |
_computeWidth = function(originWidth, baseWidth, refWidth) { | |
var rate; | |
rate = originWidth / baseWidth; | |
return refWidth * rate; | |
}; | |
SizeComputer = function(varArgs) { |
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() { | |
$.fn.transitAnimate = function(properties, duration, easing, callback) { | |
var deepFallback, fallbackCSS, hasDelay, needFallback, self; | |
self = this; | |
hasDelay = false; | |
needFallback = false; | |
deepFallback = false; | |
fallbackCSS = {}; | |
if (properties.hasOwnProperty('delay')) { | |
hasDelay = true; |