Skip to content

Commit

Permalink
Add mising semicolons to client side JavaScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericf committed Jun 7, 2012
1 parent 0843847 commit 26488f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions themes/default/assets/js/api-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Y.APIFilter = Y.Base.create('apiFilter', Y.Base, [Y.AutoCompleteBase], {
this._syncUIACBase();
},
getDisplayName: function(name) {

Y.each(Y.YUIDoc.meta.allModules, function(i) {
if (i.name === name && i.displayName) {
name = i.displayName;
Expand All @@ -33,15 +33,15 @@ Y.APIFilter = Y.Base.create('apiFilter', Y.Base, [Y.AutoCompleteBase], {
valueFn: function() {
var self = this;
return function(q) {
var data = Y.YUIDoc.meta[self.get('queryType')];
var out = [];
var data = Y.YUIDoc.meta[self.get('queryType')],
out = [];
Y.each(data, function(v) {
if (v.toLowerCase().indexOf(q.toLowerCase()) > -1) {
out.push(v);
}
});
return out;
}
};
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion themes/default/assets/js/api-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Y.APISearch = Y.Base.create('apiSearch', Y.Base, [Y.AutoCompleteBase], {
'<li class="result {resultType}">' +
'<a href="{url}">' +
'<h3 class="title">{name}</h3>' +
'<span class="type">{resultType}</span>' +
'<span class="type">{resultType}</span>' +
'<div class="description">{description}</div>' +
'<span class="className">{class}</span>' +
'</a>' +
Expand Down
2 changes: 1 addition & 1 deletion themes/default/assets/js/apidocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ pjax.updateTabState = function (src) {
if (classTabView.get('rendered')) {
Y.Widget.getByNode(tab).set('selected', 1);
} else {
tab.addClass('yui3-tab-selected')
tab.addClass('yui3-tab-selected');
}
}
};
Expand Down

0 comments on commit 26488f3

Please sign in to comment.