Skip to content

Commit bc0bc08

Browse files
committed
Create gh-pages branch via GitHub
1 parent 181b0b0 commit bc0bc08

File tree

9 files changed

+568
-15
lines changed

9 files changed

+568
-15
lines changed

images/bg_hr.png

943 Bytes
Loading

images/blacktocat.png

1.39 KB
Loading

images/icon_download.png

1.13 KB
Loading

images/sprite_download.png

16.4 KB
Loading

index.html

Lines changed: 69 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,70 @@
11
<!DOCTYPE html>
2-
<html xmlns="http://www.w3.org/1999/xhtml">
3-
<head>
4-
<meta charset="utf-8"/>
5-
<title>jQuery.serializeHashArray</title>
6-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
7-
<script src="./jquery.serializeHashArray.js"></script>
8-
</head>
9-
<body>
10-
<h1>jQuery.serializeHashArray</h1>
11-
<p>jQuery.fn.serializeArray() のラッパー関数 jQuery.fn.serializeHashArray()</p>
12-
<p>機能としては、serializeArrayで取得される配列をjQuery.ajax() で利用できる形の連想配列に起こします。</p>
13-
<pre>var harray = $(targetForm).serializeHashArray();<br/>harray[key]=value;<br/>...<br/>$.ajax(url,harray)<br/>...</pre>
14-
<p>みたいな使い方を想定しています。</p>
15-
</body>
16-
</html>
2+
<html>
3+
4+
<head>
5+
<meta charset='utf-8' />
6+
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
7+
<meta name="description" content="jQuery.serializeHashArray : jQueryのserializeArrayの拡張" />
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
10+
11+
<title>jQuery.serializeHashArray</title>
12+
</head>
13+
14+
<body>
15+
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="https://github.com/juner/jQuery.serializeHashArray">View on GitHub</a>
20+
21+
<h1 id="project_title">jQuery.serializeHashArray</h1>
22+
<h2 id="project_tagline">jQueryのserializeArrayの拡張</h2>
23+
24+
<section id="downloads">
25+
<a class="zip_download_link" href="https://github.com/juner/jQuery.serializeHashArray/zipball/master">Download this project as a .zip file</a>
26+
<a class="tar_download_link" href="https://github.com/juner/jQuery.serializeHashArray/tarball/master">Download this project as a tar.gz file</a>
27+
</section>
28+
</header>
29+
</div>
30+
31+
<!-- MAIN CONTENT -->
32+
<div id="main_content_wrap" class="outer">
33+
<section id="main_content" class="inner">
34+
<h1>
35+
<a name="%EF%BD%8Aqueryserializehasharray-%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6" class="anchor" href="#%EF%BD%8Aqueryserializehasharray-%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6"><span class="octicon octicon-link"></span></a>jQuery.serializeHashArray について</h1>
36+
37+
<h2>
38+
<a name="%E6%A6%82%E8%A6%81" class="anchor" href="#%E6%A6%82%E8%A6%81"><span class="octicon octicon-link"></span></a>概要</h2>
39+
40+
<p>jQuery.fn.ajaxする際の引数は jQuery.fn.serializeArrayの配列と、連想配列(オブジェクト)の形式に対応している為、jQuery.fn.serializeArrayをオブジェクトに変換する為のラッパープラグインです。</p>
41+
42+
<h2>
43+
<a name="%E7%94%A8%E6%B3%95" class="anchor" href="#%E7%94%A8%E6%B3%95"><span class="octicon octicon-link"></span></a>用法</h2>
44+
45+
<pre><code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"&gt;&lt;/script&gt;
46+
&lt;script type="text/javascript" src="./js/jquery.serializeHashArray.js"&gt;&lt;/script&gt;
47+
</code></pre>
48+
49+
<p>で読み込んで連想配列が欲しいformで</p>
50+
51+
<pre><code>var data = $(formSelector).serializeHashArray();
52+
</code></pre>
53+
54+
<p>とするだけです。
55+
尚、このプラグインは複数同じnameの値のフォームパーツがある場合、配列として格納します。</p>
56+
</section>
57+
</div>
58+
59+
<!-- FOOTER -->
60+
<div id="footer_wrap" class="outer">
61+
<footer class="inner">
62+
<p class="copyright">jQuery.serializeHashArray maintained by <a href="https://github.com/juner">juner</a></p>
63+
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
64+
</footer>
65+
</div>
66+
67+
68+
69+
</body>
70+
</html>

javascripts/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('This would be the main JS file.');

params.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"jQuery.serializeHashArray","tagline":"jQueryのserializeArrayの拡張","body":"#jQuery.serializeHashArray について\r\n##概要\r\njQuery.fn.ajaxする際の引数は jQuery.fn.serializeArrayの配列と、連想配列(オブジェクト)の形式に対応している為、jQuery.fn.serializeArrayをオブジェクトに変換する為のラッパープラグインです。\r\n##用法\r\n <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js\"></script>\r\n <script type=\"text/javascript\" src=\"./js/jquery.serializeHashArray.js\"></script>\r\nで読み込んで連想配列が欲しいformで\r\n\r\n var data = $(formSelector).serializeHashArray();\r\nとするだけです。\r\n尚、このプラグインは複数同じnameの値のフォームパーツがある場合、配列として格納します。\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

stylesheets/pygment_trac.css

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
.highlight .hll { background-color: #ffffcc }
2+
.highlight { background: #f0f3f3; }
3+
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
4+
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
5+
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
6+
.highlight .o { color: #555555 } /* Operator */
7+
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
8+
.highlight .cp { color: #009999 } /* Comment.Preproc */
9+
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
10+
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
11+
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
12+
.highlight .ge { font-style: italic } /* Generic.Emph */
13+
.highlight .gr { color: #FF0000 } /* Generic.Error */
14+
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
15+
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
16+
.highlight .go { color: #AAAAAA } /* Generic.Output */
17+
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
18+
.highlight .gs { font-weight: bold } /* Generic.Strong */
19+
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
20+
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
21+
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
22+
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
23+
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
24+
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
25+
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
26+
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
27+
.highlight .m { color: #FF6600 } /* Literal.Number */
28+
.highlight .s { color: #CC3300 } /* Literal.String */
29+
.highlight .na { color: #330099 } /* Name.Attribute */
30+
.highlight .nb { color: #336666 } /* Name.Builtin */
31+
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
32+
.highlight .no { color: #336600 } /* Name.Constant */
33+
.highlight .nd { color: #9999FF } /* Name.Decorator */
34+
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
35+
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
36+
.highlight .nf { color: #CC00FF } /* Name.Function */
37+
.highlight .nl { color: #9999FF } /* Name.Label */
38+
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
39+
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
40+
.highlight .nv { color: #003333 } /* Name.Variable */
41+
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
42+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
43+
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
44+
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
45+
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
46+
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
47+
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
48+
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
49+
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
50+
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
51+
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
52+
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
53+
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
54+
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
55+
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
56+
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
57+
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
58+
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
59+
.highlight .vc { color: #003333 } /* Name.Variable.Class */
60+
.highlight .vg { color: #003333 } /* Name.Variable.Global */
61+
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
62+
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
63+
64+
.type-csharp .highlight .k { color: #0000FF }
65+
.type-csharp .highlight .kt { color: #0000FF }
66+
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
67+
.type-csharp .highlight .nc { color: #2B91AF }
68+
.type-csharp .highlight .nn { color: #000000 }
69+
.type-csharp .highlight .s { color: #A31515 }
70+
.type-csharp .highlight .sc { color: #A31515 }

0 commit comments

Comments
 (0)