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(){ | |
alert(1); | |
alert(2); | |
alert(3); | |
})(); |
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 total = {}; | |
var year = '2012'; | |
var all = false; | |
function init(num) { | |
if(typeof num !== 'number') { | |
num = 0; | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, |
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
module.exports = (grunt)-> | |
grunt.initConfig | |
pkg: grunt.file.readJSON 'package.json' | |
watch: | |
files: ['coffee/**/*.coffee'] | |
tasks: ['coffee', 'tishadow:test'] | |
coffee: | |
compile: | |
files: [ | |
expand: 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
smokes = ['.vSmokeL', '.hSmokeL', '.cSmokeL', '.vSmokeR', '.hSmokeR', '.cSmokeR'] | |
hidden = ['.main-copy', '.product-info'] | |
for h in hidden | |
$(h).each -> | |
$(this).css('visibility', 'hidden') | |
return | |
for s in smokes | |
$(s).each -> |
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 countUp = 24; | |
var field = 'offset'; | |
var re = new RegExp('('+field+'=)(\\d{0,})'); | |
var offset = location.search.match(re); | |
var num = 0; | |
var href = location.href; | |
if (offset) { |
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 $bgWindow = $('<div/>'); | |
$bgWindow.css({ | |
'background-color': '#222', | |
'opacity': '.95', | |
'position': 'fixed', | |
'left': 0, | |
'top': 0, | |
'width': '100%', | |
'height': '100%', | |
'z-index': 999 |
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
<project name="jenkins project" default="build"> | |
<target name="phpunit"> | |
<exec dir="." executable="phpunit" failonerror="true"> | |
<arg line="--colors tests" /> | |
</exec> | |
</target> | |
<target name="build" depends="phpunit"/> | |
</project> |
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
order allow,deny | |
allow from all | |
deny from 制限をかけたいホスト・IP |