Skip to content

Commit 38ff492

Browse files
author
daffl
committed
Added JavascriptMVC submodules and started migration
1 parent 0b3f50d commit 38ff492

9 files changed

+91
-8
lines changed

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "steal"]
2+
path = steal
3+
url = git@github.com:jupiterjs/steal.git
4+
[submodule "documentjs"]
5+
path = documentjs
6+
url = git@github.com:jupiterjs/documentjs.git

changelog.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Title: Changelog
22

3+
0.1.4:
4+
* Updated documentation engine to DocumentJS and build system to StealJS
5+
* Merged pull request #19 and #20, support to set up a validate options for validate() in "form" type
6+
37
0.1.3:
48
* Created some public <JSFiddles for trying the plugin at http://jsfiddle.net/user/Daff/fiddles>
59
* Created <jQuery.dForm Google Group at http://groups.google.com/group/jquery-dform>

doc/files2/changelog-txt.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Changelog"></a>Changelog</h1><div class=CBody><h4 class=CHeading>0.1.3</h4><ul><li>Added <a href="../files/dform-subscribers-js.html#form" class=LType id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">form</a> type, unified <a href="../files/dform-js.html#buildForm" class=LFunction id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">buildForm</a> usage</li><li>Fixed <a href="https://github.com/daffl/jquery.dform/issues/closed#issue/14" class=LURL target=_top>issue #14</a>, setting type attribute properly in IE</li><li>Added <a href="../files/dform-js.html#getValueAt" class=LFunction id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">getValueAt</a></li><li>Added <a href="../files/dform-extensions-js.html#i18n" class=LSection id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">i18n</a> support using the <a href="https://github.com/jquery/jquery-global" class=LURL target=_top>jQuery global</a> plugin</li><li>Created <a href="http://groups.google.com/group/jquery-dform" class=LURL target=_top>jQuery.dForm Google Group</a></li></ul><h4 class=CHeading>0.1.2</h4><ul><li>Added &lt;dformAttr&gt; to add HTML attributes to elements</li><li>Moved <a href="../files/dform-extensions-js.html#placeholder" class=LSubscriber id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">placeholder</a> into a separate plugin</li><li>Added <a href="../files/dform-subscribers-js.html#reset" class=LType id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">reset</a> button type</li><li>Added dynamic form definition loading by passing a URL to the <a href="../files/dform-js.html#buildForm" class=LFunction id=link7 onMouseOver="ShowTip(event, 'tt2', 'link7')" onMouseOut="HideTip('tt2')">buildForm</a> plugin function</li><li>Added <a href="../files/dform-extensions-js.html#ajax" class=LSubscriber id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">ajax</a> subscriber using the <a href="http://jquery.malsup.com/form" class=LURL target=_top>jQuery form plugin</a></li><li>Added the <a href="../files/dform-js.html#defaultType" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">defaultType</a> method to create any HTML element without having to register a type</li><li>Improved build process</li></ul><h4 class=CHeading>0.1.1</h4><ul><li>Separated type and subscriber functions</li><li>Added types <a href="../files/dform-subscribers-js.html#file" class=LType id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">file</a>, <a href="../files/dform-subscribers-js.html#container" class=LType id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">container</a>, <a href="../files/dform-subscribers-js.html#hidden" class=LType id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">hidden</a>, <a href="../files/dform-extensions-js.html#accordion" class=LType id=link13 onMouseOver="ShowTip(event, 'tt12', 'link13')" onMouseOut="HideTip('tt12')">accordion</a>, <a href="../files/dform-subscribers-js.html#checkboxes" class=LType id=link14 onMouseOver="ShowTip(event, 'tt13', 'link14')" onMouseOut="HideTip('tt13')">checkboxes</a> and <a href="../files/dform-subscribers-js.html#radiobuttons" class=LType id=link15 onMouseOver="ShowTip(event, 'tt14', 'link15')" onMouseOut="HideTip('tt14')">radiobuttons</a></li><li>Added auto class generation based on element type</li><li>Finished jQuery UI <a href="../files/dform-extensions-js.html#accordion" class=LType id=link16 onMouseOver="ShowTip(event, 'tt12', 'link16')" onMouseOut="HideTip('tt12')">accordion</a> and unified with <a href="../files/dform-extensions-js.html#tabs" class=LType id=link17 onMouseOver="ShowTip(event, 'tt15', 'link17')" onMouseOut="HideTip('tt15')">tabs</a> usage</li><li>Switched documentation to <a href="http://naturaldocs.org" class=LURL target=_top>Natualdocs</a></li><li>Added build.xml for generating documentation and minifying JavaScript</li></ul><h4 class=CHeading>0.1</h4><ul><li>Initial release</li></ul></div></div></div>
14+
<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Changelog"></a>Changelog</h1><div class=CBody><h4 class=CHeading>0.1.3</h4><ul><li>Created some public <a href="http://jsfiddle.net/user/Daff/fiddles" class=LURL target=_top>JSFiddles for trying the plugin</a></li><li>Created <a href="http://groups.google.com/group/jquery-dform" class=LURL target=_top>jQuery.dForm Google Group</a></li><li>Added <a href="../files/dform-subscribers-js.html#form" class=LType id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">form</a> type, unified <a href="../files/dform-js.html#buildForm" class=LFunction id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">buildForm</a> usage</li><li>Fixed <a href="https://github.com/daffl/jquery.dform/issues/closed#issue/14" class=LURL target=_top>issue #14</a>, setting type attribute properly in IE</li><li>Added <a href="../files/dform-js.html#getValueAt" class=LFunction id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">getValueAt</a></li><li>Added <a href="../files/dform-extensions-js.html#i18n" class=LSection id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">i18n</a> support using the <a href="https://github.com/jquery/jquery-global" class=LURL target=_top>jQuery global</a> plugin</li><li>Fixed minor bugs in dform plugins</li></ul><h4 class=CHeading>0.1.2</h4><ul><li>Added &lt;dformAttr&gt; to add HTML attributes to elements</li><li>Moved <a href="../files/dform-extensions-js.html#placeholder" class=LSubscriber id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">placeholder</a> into a separate plugin</li><li>Added <a href="../files/dform-subscribers-js.html#reset" class=LType id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">reset</a> button type</li><li>Added dynamic form definition loading by passing a URL to the <a href="../files/dform-js.html#buildForm" class=LFunction id=link7 onMouseOver="ShowTip(event, 'tt2', 'link7')" onMouseOut="HideTip('tt2')">buildForm</a> plugin function</li><li>Added <a href="../files/dform-extensions-js.html#ajax" class=LSubscriber id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">ajax</a> subscriber using the <a href="http://jquery.malsup.com/form" class=LURL target=_top>jQuery form plugin</a></li><li>Added the <a href="../files/dform-js.html#defaultType" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">defaultType</a> method to create any HTML element without having to register a type</li><li>Improved build process</li></ul><h4 class=CHeading>0.1.1</h4><ul><li>Separated type and subscriber functions</li><li>Added types <a href="../files/dform-subscribers-js.html#file" class=LType id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">file</a>, <a href="../files/dform-subscribers-js.html#container" class=LType id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">container</a>, <a href="../files/dform-subscribers-js.html#hidden" class=LType id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">hidden</a>, <a href="../files/dform-extensions-js.html#accordion" class=LType id=link13 onMouseOver="ShowTip(event, 'tt12', 'link13')" onMouseOut="HideTip('tt12')">accordion</a>, <a href="../files/dform-subscribers-js.html#checkboxes" class=LType id=link14 onMouseOver="ShowTip(event, 'tt13', 'link14')" onMouseOut="HideTip('tt13')">checkboxes</a> and <a href="../files/dform-subscribers-js.html#radiobuttons" class=LType id=link15 onMouseOver="ShowTip(event, 'tt14', 'link15')" onMouseOut="HideTip('tt14')">radiobuttons</a></li><li>Added auto class generation based on element type</li><li>Finished jQuery UI <a href="../files/dform-extensions-js.html#accordion" class=LType id=link16 onMouseOver="ShowTip(event, 'tt12', 'link16')" onMouseOut="HideTip('tt12')">accordion</a> and unified with <a href="../files/dform-extensions-js.html#tabs" class=LType id=link17 onMouseOver="ShowTip(event, 'tt15', 'link17')" onMouseOut="HideTip('tt15')">tabs</a> usage</li><li>Switched documentation to <a href="http://naturaldocs.org" class=LURL target=_top>Natualdocs</a></li><li>Added build.xml for generating documentation and minifying JavaScript</li></ul><h4 class=CHeading>0.1</h4><ul><li>Initial release</li></ul></div></div></div>
1515

1616
</div><!--Content-->
1717

doc/files2/readme-txt.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$(&quot;#myform&quot;).buildForm(formdata);
3333

3434
// Or to load the form definition via AJAX
35-
$(&quot;#myform&quot;).buildForm(&quot;http://example.com/myform.json&quot;);</pre></blockquote><h4 class=CHeading>How to get it</h4><p><a href="http://github.com/downloads/daffl/jquery.dform/jquery.dform-0.1.2.tar.gz" class=LURL target=_top>Download jQuery.dForm 0.1.2</a></p><h4 class=CHeading>How to get involved</h4><ul><li>Visit the <a href="http://groups.google.com/group/jquery-dform" class=LURL target=_top>jQuery.dForm Google Group</a></li><li>Fork the project on <a href="http://github.com/daffl/jquery.dform/" class=LURL target=_top>GitHub</a></li><li>Follow <a href="http://twitter.com/daffl" class=LURL target=_top>@daffl</a> on Twitter</li></ul><h4 class=CHeading>What it is for</h4><p>There are many server side web frameworks that support HTML form generation, but you often end up mixing client (e.g.&nbsp; JavaScript validation) and server side processing concerns together.</p><p>This plugin moves the generation of forms entirely on the client side so that the server just has to provide a JavaScript object (usually as JSON) that contains all the information needed to create this form.&nbsp; It is easily extensible for custom form elements and properties.</p><p>You should try this plugin if you want to</p><ul><li>manage all your form related jQuery plugins in a unified way (jQuery UI and the Validation plugin supported out of the box)</li><li>scaffold forms from business objects of your server side framework</li><li>have an easy way to include jQuery UI elements and JavaScript validation</li><li>write JavaScript instead of HTML markup since your page doesn&rsquo;t run without JS anyway</li></ul><h4 class=CHeading>Examples</h4><p>See some live demos at the <a href="examples-txt.html#Examples" class=LSection id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Examples</a> page.</p></div></div></div>
35+
$(&quot;#myform&quot;).buildForm(&quot;http://example.com/myform.json&quot;);</pre></blockquote><h4 class=CHeading>How to get it</h4><p><a href="http://github.com/downloads/daffl/jquery.dform/jquery.dform-0.1.3.tar.gz" class=LURL target=_top>Download jQuery.dForm 0.1.3</a></p><h4 class=CHeading>How to get involved</h4><ul><li>Visit the <a href="http://groups.google.com/group/jquery-dform" class=LURL target=_top>jQuery.dForm Google Group</a></li><li>Fork the project on <a href="http://github.com/daffl/jquery.dform/" class=LURL target=_top>GitHub</a></li><li>Follow <a href="http://twitter.com/daffl" class=LURL target=_top>@daffl</a> on Twitter</li></ul><h4 class=CHeading>What it is for</h4><p>There are many server side web frameworks that support HTML form generation, but you often end up mixing client (e.g.&nbsp; JavaScript validation) and server side processing concerns together.</p><p>This plugin moves the generation of forms entirely on the client side so that the server just has to provide a JavaScript object (usually as JSON) that contains all the information needed to create this form.&nbsp; It is easily extensible for custom form elements and properties.</p><p>You should try this plugin if you want to</p><ul><li>manage all your form related jQuery plugins in a unified way (jQuery UI and the Validation plugin supported out of the box)</li><li>scaffold forms from business objects of your server side framework</li><li>have an easy way to include jQuery UI elements and JavaScript validation</li><li>write JavaScript instead of HTML markup since your page doesn&rsquo;t run without JS anyway</li></ul><h4 class=CHeading>Examples</h4><p>See some live demos at the <a href="examples-txt.html#Examples" class=LSection id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Examples</a> page.</p></div></div></div>
3636

3737
</div><!--Content-->
3838

docs.html

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<html lang="en">
3+
<head>
4+
<title>JavaScriptMVC</title>
5+
<link rel="stylesheet" type='text/css' href='../documentjs/jmvcdoc/style.css' />
6+
<link rel="shortcut icon" href="../documentjs/jmvcdoc/images/favicon.ico" />
7+
</head>
8+
<body>
9+
<div id='documentation'>
10+
<div id='top'>
11+
<div class="topCorner">
12+
<div class="right"></div>
13+
<div class="left"></div>
14+
</div>
15+
<div class="content">
16+
<div id="searchRoundCorners">
17+
<input id='search' type='input' disabled='true'/>
18+
</div>
19+
<div id='defaults'>
20+
<ul id="menu" class="ui-menu">
21+
<li class="ui-menu-item">
22+
<a class="menuLink" href="#&amp;search=&#42;&amp;who=index"><span class="menuSpan">Home</span></a>
23+
</li>
24+
<li class="ui-menu-item">
25+
<a class="menuLink" href="#&amp;search=core"><span class="menuSpan">Core</span></a>
26+
</li>
27+
<li class="ui-menu-item">
28+
<a class="menuLink" href="#favorites"><span class="menuSpan">Favorites</span></a>
29+
</li>
30+
<li class="ui-menu-item">
31+
<a class="menuLink" href="http://javascriptmvc.com/#&who=follow" title="Follow"><span class="menuSpan red">Follow</span></a>
32+
</li>
33+
<li class="ui-menu-item">
34+
<a class="menuLink" href="#&amp;who=contribute" title="Contribute"><span class="menuSpan red">Contribute</span></a>
35+
</li>
36+
<li class="ui-menu-item">
37+
<a class="menuLink" href="#&amp;who=code" title="Code"><span class="menuSpan red">Code</span></a>
38+
</li>
39+
</ul>
40+
</div>
41+
<div class="logo-text"><a href='http://javascriptmvc.com'>JavaScript<img src='../documentjs/jmvcdoc/images/logo80x30.png' class="logo-image"/></a></div>
42+
</div>
43+
<div class="bottomCorner">
44+
<div class="right"></div>
45+
<div class="left"></div>
46+
</div>
47+
</div>
48+
<div id='bottom'>
49+
<div id='nav'>
50+
<a>Loading ... </a>
51+
</div>
52+
<div id='doc_container'>
53+
<div id='doc'>
54+
Add a page named 'index' to see something here.
55+
</div>
56+
<div id="disqus_thread"></div>
57+
</div>
58+
</div>
59+
</div>
60+
<div id='low'>
61+
<a href="http://jupiterit.com">&copy; Jupiter IT - JavaScriptMVC Training and Support</a>
62+
</div>
63+
<script type='text/javascript'>
64+
DOCS_LOCATION = "docs/" //adds searchData to this
65+
</script>
66+
<script type='text/javascript'
67+
src='../steal/steal.production.js?documentjs/jmvcdoc'>
68+
</script>
69+
</body>
70+
</html>

documentjs

Submodule documentjs added at 2a7dc99

0 commit comments

Comments
 (0)