Permalink
Browse files

gallery-2012.06.20-20-07 solmsted gallery-yql-crypto

  • Loading branch information...
1 parent 5f9ccea commit c71d5b205e545a94facd1680ee80399c63808ba4 YUI Builder committed Jun 20, 2012
@@ -1,3 +1,17 @@
YUI.add("yuidoc-meta", function(Y) {
- Y.YUIDoc = { meta: {"classes":["YQLCrypto"],"modules":["gallery-yql-crypto"],"allModules":[{"displayName":"gallery-yql-crypto","name":"gallery-yql-crypto","description":"This module provides convenient client side access to YQL's crypto functions."}]} };
+ Y.YUIDoc = { meta: {
+ "classes": [
+ "YQLCrypto"
+ ],
+ "modules": [
+ "gallery-yql-crypto"
+ ],
+ "allModules": [
+ {
+ "displayName": "gallery-yql-crypto",
+ "name": "gallery-yql-crypto",
+ "description": "This module provides convenient client side access to YQL's crypto functions."
+ }
+ ]
+} };
});
@@ -36,6 +36,10 @@ a {
text-decoration: none;
}
+.hidden {
+ display: none;
+}
+
a:hover { text-decoration: underline; }
/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
@@ -204,8 +208,8 @@ th {
.toc li li { font-weight: normal; }
/* -- Intro and Example Boxes ----------------------------------------------- */
+/*
.intro, .example { margin-bottom: 2em; }
-
.example {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
@@ -215,10 +219,10 @@ th {
box-shadow: 0 0 5px #bfbfbf;
padding: 1em;
}
-
.intro {
background: none repeat scroll 0 0 #F0F1F8; border: 1px solid #D4D8EB; padding: 0 1em;
}
+*/
/* -- Other Styles ---------------------------------------------------------- */
@@ -269,13 +273,6 @@ th {
}
-a.external {
- background-image: url(external-small.png);
- background-repeat: no-repeat;
- background-position: 0 0;
- padding-left: 16px;
-}
-
#classdocs .item {
border-bottom: 1px solid #466899;
margin: 1em 0;
@@ -761,48 +758,3 @@ kbd .cmd { font-family: Monaco, Helvetica; }
font-weight: bold;
}
-
-.yui3-widget, .yui3-tabview .yui3-tabview-content .yui3-tabview-list {
- margin-right: 5px;
- border-color: #DDD;
- border-width: 0 0 1px;
-}
-.yui3-skin-sam .yui3-tab-selected .yui3-tab-label, .yui3-skin-sam .yui3-tab-selected .yui3-tab-label:focus, .yui3-skin-sam .yui3-tab-selected .yui3-tab-label:hover {
- color: #fff !important;
- background: #2647A0;
- -x-system-font: none;
- font-family: arial,helvetica,clean,sans-serif;
- font-size: 13px;
- font-size-adjust: none;
- font-stretch: normal;
- font-style: normal;
- font-variant: normal;
- font-weight: normal;
- -moz-border-radius-topright: 5px;
- -moz-border-radius-topleft: 5px;
- -webkit-border-top-right-radius: 5px;
- -webkit-border-top-left-radius: 5px;
-}
-.yui3-skin-sam .yui3-tab-label {
- -x-system-font: none;
- font-family: arial,helvetica,clean,sans-serif;
- font-size: 13px;
- font-size-adjust: none;
- font-stretch: normal;
- font-style: normal;
- font-variant: normal;
- font-weight: normal;
- -moz-border-radius-topright: 5px;
- -moz-border-radius-topleft: 5px;
- -webkit-border-top-right-radius: 5px;
- -webkit-border-top-left-radius: 5px;
-}
-.yui3-widget, .yui3-tabview .yui3-tabview-content .yui3-tabview-panel {
- background: #FFFFFF;
- -moz-border-radius-topright: 5px;
- -moz-border-radius-bottomright: 5px;
- -moz-border-radius-bottomleft: 5px;
- -webkit-border-top-right-radius: 5px;
- -webkit-border-bottom-right-radius: 5px;
- -webkit-border-bottom-left-radius: 5px;
-}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,10 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Redirector</title>
+ <meta http-equiv="refresh" content="0;url=../">
+ </head>
+ <body>
+ <a href="../">Click here to redirect</a>
+ </body>
+</html>
@@ -5,6 +5,16 @@ Y.APIFilter = Y.Base.create('apiFilter', Y.Base, [Y.AutoCompleteBase], {
initializer: function () {
this._bindUIACBase();
this._syncUIACBase();
+ },
+ getDisplayName: function(name) {
+
+ Y.each(Y.YUIDoc.meta.allModules, function(i) {
+ if (i.name === name && i.displayName) {
+ name = i.displayName;
+ }
+ });
+
+ return name;
}
}, {
@@ -106,7 +106,7 @@ function onFilterResults(e) {
YArray.each(e.results, function (result) {
frag.append(Lang.sub(LIST_ITEM_TEMPLATE, {
rootPath : APIList.rootPath,
- displayName : result.highlighted,
+ displayName : filter.getDisplayName(result.highlighted),
name : result.text,
typePlural : typePlural,
typeSingular: typeSingular
@@ -15,6 +15,7 @@ Y.each(parts, function(v, k) {
case 'modules':
case 'files':
baseNum = k;
+ url.push('');
break;
default:
if (k < baseNum) {
@@ -24,7 +25,7 @@ Y.each(parts, function(v, k) {
}
});
-url = url.join('/') + '/';
+url = url.join('/');
var win = Y.config.win,
@@ -119,10 +120,6 @@ controller.afterLoad = function () {
prettyPrint();
bd.removeClass('loading');
-
- // Tell Chartbeat about the virtual pageview. Yes, pSUPERFLY is the real
- // Chartbeat class name.
- pSUPERFLY.virtualPage(controller.getPath(), Y.config.doc.title);
};
controller.checkVisibility = function (tab) {
Oops, something went wrong.

0 comments on commit c71d5b2

Please sign in to comment.