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 $box = $('#box'), $panels, $panel, f, i; | |
function exec() { | |
for (i=0; i<$panels.length; i++){ | |
$panel = $($panels[i]); | |
if ($panel.data('type') === 'a') { | |
$panel.click(); | |
return 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
module.exports = function(grunt){ | |
var path = require('path'); | |
var matchdep = require('matchdep'); | |
matchdep.filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
compass: { | |
dev: { |
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
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title>demo</title> | |
<style type="text/css"> | |
label { | |
position: relative; | |
display: block; | |
border: 1px solid #ccc; | |
padding: 10px; | |
margin-bottom: 10px; |
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
<weapon> | |
<part id="Holo008" x="958" y="647.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,666666"/> | |
<part id="Scope004" x="749" y="375.7" rotation="0" scale="1" flip="1,1" colors="666666,ff5656"/> | |
<part id="Silencer04" x="1246" y="693.7" rotation="0" scale="1" flip="1,1" colors="666666,e1e1e1"/> | |
<part id="RedDot009" x="702" y="461.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/> | |
<part id="Foregrip012" x="1098" y="752.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/> | |
<part id="Flashlight01" x="1134" y="691.7" rotation="0" scale="1" flip="1,1" colors="666666,666666"/> | |
<part id="Laser002S" x="1053" y="691.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,666666"/> | |
<part id="RIS037" x="1086" y="700.7" rotation="0" scale="1.290638244156817" flip="1,1" colors="666666,666666,666666"/> | |
<part id="RIS039" x="961" y="464.7" rotation="0" scale="1" flip="1,1" colors="666666,666666,e1e1e1"/> |
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
<% @pages.each do |page_file_name, page| %> | |
<dl> | |
<% @categories.each do |category| %> | |
<dt> | |
<% if page_file_name === category[1] %> | |
<% if file_name === category[1] %> | |
<a href="<%= category[1] %>"><b><%= category[0] %></b></a> | |
<% else %> | |
<a href="<%= category[1] %>"><%= category[0] %></a> | |
<% end %> |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0.rc.1) | |
// ---- | |
body { | |
z: { | |
index: 1; | |
index: 2; | |
index: 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0.rc.0) | |
// ---- | |
@function initial($propertyName) { | |
// http://qiita.com/jyane/items/aed390415cb0d804a11b | |
$dataList: ( | |
animation-name: none, | |
animation-duration: 0s, |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0.rc.0) | |
// ---- | |
@function initial($propertyName) { | |
$dataList: ( | |
animation-name: none, | |
animation-duration: 0s, | |
animation-timing-function: ease, |
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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
/* 2: @at-rootを使ってPlaceholderをBlockの外に出すパターン */ | |
.list { | |
@at-root { | |
%list__item { | |
background: plum; |
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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
/* 1 */ | |
.list { | |
%list__item { | |
background: limegreen; | |
} |