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.cssproperties.js ver1.0 | |
| The MIT License | |
| Copyright (c) since 2012 Yapr! inc. jun takeno | |
| http://www.facebook.com/yamitake | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal |
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 board = [ | |
| ["l","h","i","k","o","a","v"], | |
| ["r","q","s","c","z","l","p"], | |
| ["u","w","a","l","n","f","o"], | |
| ["t","y","k","a","j","e","h"], | |
| ["a","h","i","t","s","y","d"], | |
| ["e","f","o","p","t","x","n"], | |
| ["r","u","z","w","y","v","e"] | |
| ]; |
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 result = {}; | |
| function dive(elem , arr){ | |
| if(!arr)arr = {}; | |
| arr[elem.get(0).tagName.toLowerCase()] = {} | |
| elem.children().each(function(){ | |
| dive($(this) , arr[elem.get(0).tagName.toLowerCase()]); | |
| }); |
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
| animation | |
| animation-delay | |
| animation-direction | |
| animation-duration | |
| animation-fill-mode | |
| animation-iteration-count | |
| animation-name | |
| animation-play-state | |
| animation-timing-function | |
| appearance |
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 result = ""; | |
| var depth = 0; | |
| function dive(elem){ | |
| result += indent(depth) + (elem.get(0).tagName.toLowerCase() + "{\n"); | |
| //idが会ったら | |
| var id = elem.get(0).id; | |
| if(id){ | |
| console.log("id aru"); |
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
| .border-images(@image) { | |
| -webkit-border-image: @image; | |
| -moz-border-image: @image; | |
| -ms-border-image: @image; | |
| -o-border-image: @image; | |
| border-image: @image; | |
| } |
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 a = Math.random(); | |
| if(a < 0.3){ | |
| console.log("atari"); | |
| }else{ | |
| console.log("hazure"); | |
| } |
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 opts = {}; | |
| opts.delayTime = 2000; | |
| opts.delayTime = 30; | |
| //text を流す | |
| var ticker = function(selector , text){ | |
| var target = $(selector); | |
| var len = text.length; | |
| var str = text; | |
| var i = 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
| [linkref]: リンクのアドレス "リンクのタイトル" |
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
| $("input:text , textarea").each(function(){ | |
| $(this).val($(this).attr("placeholder")); | |
| }); |