Skip to content

Commit

Permalink
Merge branch 'master' of yuisource.corp.yahoo.com:yui3
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith committed Jan 12, 2011
2 parents e8f0be1 + c99f1bf commit f332140
Show file tree
Hide file tree
Showing 27 changed files with 90 additions and 55 deletions.
16 changes: 11 additions & 5 deletions build/autocomplete/autocomplete-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,8 @@ ACSources.prototype = {

env = that.get('yqlEnv');
maxResults = that.get(MAX_RESULTS);
opts = {proto: that.get('yqlProtocol')};

opts = {proto: that.get('yqlProtocol')};

yqlQuery = Lang.sub(source, {
maxResults: maxResults > 0 ? maxResults : 1000,
Expand All @@ -1789,11 +1790,16 @@ ACSources.prototype = {
if (yqlRequest) {
yqlRequest._callback = callback;
yqlRequest._opts = opts;
yqlRequest._params.env = env;
yqlRequest._params.q = yqlQuery;

if (env) {
yqlRequest._params.env = env;
}
} else {
yqlRequest = new Y.YQLRequest(yqlQuery, callback,
env ? {env: env} : null, opts);
yqlRequest = new Y.YQLRequest(yqlQuery, {
on: {success: callback},
allowCache: false // temp workaround until JSONP has per-URL callback proxies
}, env ? {env: env} : null, opts);
}

yqlRequest.send();
Expand Down Expand Up @@ -2695,7 +2701,7 @@ Y.AutoCompleteList = List;
Y.AutoComplete = List;


}, '@VERSION@' ,{after:['autocomplete-sources'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], lang:['en'], skinnable:true});
}, '@VERSION@' ,{lang:['en'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], after:['autocomplete-sources'], skinnable:true});
YUI.add('autocomplete-plugin', function(Y) {

/**
Expand Down
2 changes: 1 addition & 1 deletion build/autocomplete/autocomplete-list-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,4 +782,4 @@ Y.AutoCompleteList = List;
Y.AutoComplete = List;


}, '@VERSION@' ,{after:['autocomplete-sources'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], lang:['en'], skinnable:true});
}, '@VERSION@' ,{lang:['en'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], after:['autocomplete-sources'], skinnable:true});
2 changes: 1 addition & 1 deletion build/autocomplete/autocomplete-list-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/autocomplete/autocomplete-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,4 +782,4 @@ Y.AutoCompleteList = List;
Y.AutoComplete = List;


}, '@VERSION@' ,{after:['autocomplete-sources'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], lang:['en'], skinnable:true});
}, '@VERSION@' ,{lang:['en'], requires:['autocomplete-base', 'selector-css3', 'widget', 'widget-position', 'widget-position-align', 'widget-stack'], after:['autocomplete-sources'], skinnable:true});
Loading

0 comments on commit f332140

Please sign in to comment.