Skip to content

Commit 6ac2e68

Browse files
author
daffl
committed
Last cleanup for 0.1.1 release
1 parent 4d9dd30 commit 6ac2e68

File tree

11 files changed

+937
-324
lines changed

11 files changed

+937
-324
lines changed

build/docdata/Menu.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Footer: Copyright (C) 2010 - David Luecke - daff@neyeon.de
5050

5151

5252
File: Home (/home/daff/Development/workspace/jquery.dform/readme.txt)
53-
File: Subscribers (/home/daff/Development/workspace/jquery.dform/src/dform.subscribers.js)
54-
File: Extensions (/home/daff/Development/workspace/jquery.dform/src/dform.extensions.js)
53+
File: Usage (/home/daff/Development/workspace/jquery.dform/src/dform.subscribers.js)
54+
File: Extension (/home/daff/Development/workspace/jquery.dform/src/dform.extensions.js)
5555
File: Plugin (/home/daff/Development/workspace/jquery.dform/src/dform.js)
5656
File: Changelog (/home/daff/Development/workspace/jquery.dform/changelog.txt)
5757
File: License (/home/daff/Development/workspace/jquery.dform/license.txt)
@@ -63,6 +63,7 @@ Group: Index {
6363
Subscriber Index: Subscribers
6464
Function Index: Functions
6565
File Index: Files
66+
Example Index: Examples
6667
} # Group: Index
6768

6869

build/docdata/Topics.txt

+10
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,13 @@ Topic Type: Subscriber
9999
Keywords:
100100
subscriber
101101
subscribers
102+
103+
104+
Topic Type: Example
105+
106+
Plural: Examples
107+
Scope: Always global
108+
109+
Keywords:
110+
example
111+
examples

build/docdata/javascript/custom.js

+18
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,22 @@ $(document).ready(function() {
2727
$("#" + formid).buildForm(code);
2828
$(tabs).tabs();
2929
});
30+
31+
$(".CExample pre").each(function(count) {
32+
var code = $.parseJSON($(this).children("code").html());
33+
var elem = $(this).parent();
34+
var codeid = "code-" + count;
35+
var formid = "form-" + count;
36+
$(elem).wrap($("<div>").attr("id", codeid));
37+
$(elem).parent().wrap($("<div>"));
38+
var tabs = $(elem).parent().parent();
39+
$(tabs).prepend($("<div>").attr("id", formid));
40+
var ul = $("<ul>")
41+
.append($("<li>").append($("<a>").attr("href", "#" + formid).html("Form")))
42+
.append($("<li>").append($("<a>").attr("href", "#" + codeid).html("JSON")));
43+
$(tabs).prepend(ul);
44+
$("#" + formid).append("<form>");
45+
$("#" + formid).children("form").buildForm(code);
46+
$(tabs).tabs();
47+
});
3048
});

build/docdata/javascript/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,6 @@ function SearchResults(name, mode)
859859

860860
include("../javascript/custom.js");
861861
include("../javascript/jquery.beautyofcode.js");
862-
include("../../../jquery.dform-0.1.1.min.js");
862+
include("../../jquery.dform-0.1.1.min.js");
863863

864864
includeCss("http://alexgorbatchev.com/pub/sh/2.0.320/styles/shThemeDefault.css");

0 commit comments

Comments
 (0)