github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

yui / yuidoc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 74
    • 15
  • Source
  • Commits
  • Network (15)
  • Downloads (50)
  • Graphs
  • Tree: 55e8aac

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master
  • Switch Tags (50)
    • yuidoc-49
    • yuidoc-48
    • yuidoc-47
    • yuidoc-46
    • yuidoc-45
    • yuidoc-44
    • yuidoc-43
    • yuidoc-42
    • yuidoc-41
    • yuidoc-40
    • yuidoc-39
    • yuidoc-38
    • yuidoc-37
    • yuidoc-36
    • yuidoc-35
    • yuidoc-34
    • yuidoc-33
    • yuidoc-32
    • yuidoc-31
    • yuidoc-30
    • yuidoc-29
    • yuidoc-28
    • yuidoc-27
    • yuidoc-26
    • yuidoc-25
    • yuidoc-24
    • yuidoc-23
    • yuidoc-22
    • yuidoc-21
    • yuidoc-20
    • yuidoc-19
    • yuidoc-18
    • yuidoc-17
    • yuidoc-16
    • yuidoc-15
    • yuidoc-14
    • yuidoc-13
    • yuidoc-12
    • yuidoc-11
    • yuidoc-10
    • yuidoc-9
    • yuidoc-8
    • yuidoc-7
    • yuidoc-6
    • yuidoc-5
    • yuidoc-4
    • yuidoc-3
    • yuidoc-2
    • ${label}
    • 1.0.0b1
  • Comments
Sending Request…

YUI Javascript Documentation Tool — Read more

  Cancel

http://yuilibrary.com/projects/yuidoc

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Checked in transitional script file that maps to the current state of the 
template.
apm (author)
Wed Dec 16 12:41:35 -0800 2009
commit  55e8aac5e63145d93b3ab4c834ce412bf5b7f8fa
tree    134838391196a92289cd00820b3c6f4c6a1f0979
parent  b8878eb5ededf88906540ad1db342ecd399c23ac
M template/assets/ac-js 26 ••••
0
template/assets/ac-js
...
1
 
2
3
4
...
6
7
8
9
 
 
 
 
 
 
10
11
 
12
13
14
...
37
38
39
40
41
42
43
44
45
46
47
48
49
50
...
68
69
70
71
 
72
73
74
...
132
133
134
135
136
 
 
 
 
137
138
139
...
1
2
3
4
5
...
7
8
9
 
10
11
12
13
14
15
16
 
17
18
19
20
...
43
44
45
 
 
 
 
 
 
 
 
46
47
48
...
66
67
68
 
69
70
71
72
...
130
131
132
 
 
133
134
135
136
137
138
139
0
@@ -1,4 +1,5 @@
0
 (function() {
0
+
0
     var Event=YAHOO.util.Event,
0
         Dom=YAHOO.util.Dom,
0
         oACDS, oAutoComp,
0
@@ -6,9 +7,14 @@
0
             'private': false,
0
             'protected': false,
0
             'deprecated': false
0
-        };
0
+        },
0
+        
0
+        ITEM_TEMPLATE = '<em>{host}</em> <span>{name}</span>',
0
+        // ITEM_TEMPLATE = '<em>{host}</em> <span>{params}</span> <span>{name}</span>',
0
+        // ITEM_TEMPLATE = '<em>{host}</em> <span>{params}</span> <span>{name}</span><div>{description}</div>',
0
+        yuidoc = YAHOO.namespace('yuidoc');
0
 
0
-Event.onAvailable('yui-classopts-form', function() {
0
+yuidoc.init = function() {
0
     //Checkboxes are available..
0
     var handleClick = function(e) {
0
         var id, checked = false;
0
@@ -37,14 +43,6 @@ Event.onAvailable('yui-classopts-form', function() {
0
         var value = YAHOO.util.Cookie.getSub('yuidoc', id),
0
             el = Dom.get(id), checked = (value === 'checked');;
0
 
0
-        /*
0
-        if (value === 'checked') {
0
-            el.checked = true;
0
-        } else {
0
-            el.checked = false;
0
-        }
0
-        */
0
-
0
         el.checked = checked;
0
         return checked;
0
     };
0
@@ -68,7 +66,7 @@ Event.onAvailable('yui-classopts-form', function() {
0
         }
0
     }
0
     
0
-});
0
+};
0
 
0
 //Starting the AutoComplete code
0
     var getResults = function(query) {
0
@@ -132,8 +130,10 @@ Event.onAvailable('yui-classopts-form', function() {
0
         oAutoComp.maxResultsDisplayed = 200;
0
         oAutoComp.minQueryLength = 0;
0
         oAutoComp.formatResult = function(oResultItem, query) {
0
-            var sMarkup = "<em>" + oResultItem[1].host + '</em> <span>' + oResultItem[1].name + '</span>';
0
-            return sMarkup;
0
+            // var sMarkup = "<em>" + oResultItem[1].host + '</em> <span>' + oResultItem[1].name + '</span>';
0
+            // return sMarkup;
0
+            // return  "<em>" + oResultItem[1].host + '</em> <span>' + oResultItem[1].name + '</span>';
0
+            return  YAHOO.lang.substitute(ITEM_TEMPLATE, oResultItem[1]);
0
         };
0
 
0
         // Subscribe to Custom Events

Comments

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server