Skip to content

Commit

Permalink
gallery-2012.06.20-20-07 solmsted gallery-yql-crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
YUI Builder committed Jun 20, 2012
1 parent 5f9ccea commit c71d5b2
Show file tree
Hide file tree
Showing 16 changed files with 337 additions and 290 deletions.
16 changes: 15 additions & 1 deletion src/gallery-yql-crypto/api/api.js
@@ -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."
}
]
} };
});
60 changes: 6 additions & 54 deletions src/gallery-yql-crypto/api/assets/css/main.css
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand All @@ -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 ---------------------------------------------------------- */

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Binary file added src/gallery-yql-crypto/api/assets/img/spinner.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/gallery-yql-crypto/api/assets/index.html
@@ -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>
10 changes: 10 additions & 0 deletions src/gallery-yql-crypto/api/assets/js/api-filter.js
Expand Up @@ -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;
}

}, {
Expand Down
2 changes: 1 addition & 1 deletion src/gallery-yql-crypto/api/assets/js/api-list.js
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions src/gallery-yql-crypto/api/assets/js/apidocs.js
Expand Up @@ -15,6 +15,7 @@ Y.each(parts, function(v, k) {
case 'modules':
case 'files':
baseNum = k;
url.push('');
break;
default:
if (k < baseNum) {
Expand All @@ -24,7 +25,7 @@ Y.each(parts, function(v, k) {
}
});

url = url.join('/') + '/';
url = url.join('/');


var win = Y.config.win,
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit c71d5b2

Please sign in to comment.