Updated
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.ArrayMatcher}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.ArrayMatcher');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.ac.ArrayMatcher');
|
||||
|
||||
|
||||
|
||||
// TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility. For actual documentation,
|
||||
* please see {@link goog.ui.ac.ArrayMatcher}.
|
||||
*
|
||||
* @constructor
|
||||
* @param {Array} rows Rows.
|
||||
* @param {boolean=} opt_noSimilar Opt_noSimilar.
|
||||
* @deprecated Use {@link goog.ui.ac.ArrayMatcher} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.ArrayMatcher = goog.ui.ac.ArrayMatcher;
|
||||
@@ -0,0 +1,51 @@
|
||||
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.AutoComplete}.
|
||||
*
|
||||
* @see ../../demos/autocomplete-basic.html
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete');
|
||||
goog.provide('goog.ui.AutoComplete.EventType');
|
||||
|
||||
goog.require('goog.ui.ac.AutoComplete');
|
||||
goog.require('goog.ui.ac.AutoComplete.EventType');
|
||||
|
||||
|
||||
|
||||
// TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility. For actual documentation,
|
||||
* please see {@link goog.ui.ac.AutoComplete}.
|
||||
*
|
||||
* @param {Object} matcher A matcher.
|
||||
* @param {goog.events.EventTarget} renderer A renderer.
|
||||
* @param {Object} selectionHandler A selectionHandler.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {goog.events.EventTarget}
|
||||
* @deprecated Use {@link goog.ui.ac.AutoComplete} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete = goog.ui.ac.AutoComplete;
|
||||
|
||||
|
||||
/**
|
||||
* This is a stub for backward compatibility. For actual documentation,
|
||||
* please see {@link goog.ui.ac.AutoComplete.EventType}.
|
||||
* @enum {string}
|
||||
*/
|
||||
goog.ui.AutoComplete.EventType = goog.ui.ac.AutoComplete.EventType;
|
||||
@@ -0,0 +1,61 @@
|
||||
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility. For actual
|
||||
* documentation, please see {@link goog.ui.ac.createSimpleAutoComplete}.
|
||||
*
|
||||
* @see ../../demos/autocomplete-basic.html
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.Basic');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.AutoComplete.ArrayMatcher');
|
||||
goog.require('goog.ui.AutoComplete.InputHandler');
|
||||
goog.require('goog.ui.AutoComplete.Renderer');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.ac');
|
||||
|
||||
|
||||
|
||||
// TODO(user): Remove this file completely after known usages are replaced
|
||||
// with goog.ui.ac.createSimpleAutoComplete.
|
||||
/**
|
||||
* Factory class for building a basic autocomplete widget that autocompletes
|
||||
* an inputbox or text area from a data array.
|
||||
* @param {Array} data Data array.
|
||||
* @param {Element} input Input element or text area.
|
||||
* @param {boolean=} opt_multi Whether to allow multiple entries separated with
|
||||
* semi-colons or commas.
|
||||
* @param {boolean=} opt_useSimilar use similar matches. e.g. "gost" => "ghost".
|
||||
* @constructor
|
||||
* @extends {goog.ui.AutoComplete}
|
||||
* @deprecated Use {@link goog.ui.ac.createSimpleAutoComplete} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.Basic = function(data, input, opt_multi, opt_useSimilar) {
|
||||
var matcher = new goog.ui.AutoComplete.ArrayMatcher(data, !opt_useSimilar);
|
||||
var renderer = new goog.ui.AutoComplete.Renderer();
|
||||
var inputHandler = new goog.ui.AutoComplete.InputHandler(
|
||||
null, null, !!opt_multi);
|
||||
|
||||
goog.ui.AutoComplete.call(this, matcher, renderer, inputHandler);
|
||||
|
||||
inputHandler.attachAutoComplete(this);
|
||||
inputHandler.attachInputs(input);
|
||||
};
|
||||
goog.inherits(goog.ui.AutoComplete.Basic, goog.ui.AutoComplete);
|
||||
@@ -0,0 +1,60 @@
|
||||
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.InputHandler}.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.InputHandler');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.ac.InputHandler');
|
||||
|
||||
|
||||
|
||||
// TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.InputHandler}.
|
||||
*
|
||||
* @param {?string=} opt_separators Opt_separators.
|
||||
* @param {?string=} opt_literals Opt_literals.
|
||||
* @param {?boolean=} opt_multi Opt_multi.
|
||||
* @param {?number=} opt_throttleTime Opt_throttleTime.
|
||||
* @constructor
|
||||
* @extends {goog.Disposable}
|
||||
* @deprecated Use {@link goog.ui.ac.InputHandler} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.InputHandler = goog.ui.ac.InputHandler;
|
||||
|
||||
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.InputHandler}.
|
||||
* @type {string}
|
||||
*/
|
||||
goog.ui.AutoComplete.InputHandler.STANDARD_LIST_SEPARATORS =
|
||||
goog.ui.ac.InputHandler.STANDARD_LIST_SEPARATORS;
|
||||
|
||||
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.InputHandler}.
|
||||
* @type {string}
|
||||
*/
|
||||
goog.ui.AutoComplete.InputHandler.QUOTE_LITERALS =
|
||||
goog.ui.ac.InputHandler.QUOTE_LITERALS;
|
||||
@@ -0,0 +1,56 @@
|
||||
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.Remote}.
|
||||
*
|
||||
* @see ../../demos/autocompleteremote.html
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.Remote');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.InputHandler');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.RemoteArrayMatcher');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.Renderer');
|
||||
goog.require('goog.ui.ac.Remote');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.Remote}.
|
||||
* @param {string} url A url.
|
||||
* @param {Element} input An input.
|
||||
* @param {boolean=} opt_multi Opt_multi.
|
||||
* @param {boolean=} opt_useSimilar Opt_useSimilar.
|
||||
* @constructor
|
||||
* @extends {goog.ui.ac.AutoComplete}
|
||||
* @deprecated Use {@link goog.ui.ac.Remote} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.Remote = goog.ui.ac.Remote;
|
||||
@@ -0,0 +1,38 @@
|
||||
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RemoteArrayMatcher}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.RemoteArrayMatcher');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.ac.RemoteArrayMatcher');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RemoteArrayMatcher}.
|
||||
* @param {string} url A url.
|
||||
* @param {boolean=} opt_noSimilar Opt_noSimilar.
|
||||
* @constructor
|
||||
* @extends {goog.Disposable}
|
||||
* @deprecated Use {@link goog.ui.ac.RemoteArrayMatcher} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.RemoteArrayMatcher = goog.ui.ac.RemoteArrayMatcher;
|
||||
@@ -0,0 +1,62 @@
|
||||
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.Renderer}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.Renderer');
|
||||
goog.provide('goog.ui.AutoComplete.Renderer.CustomRenderer');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.ac.Renderer');
|
||||
goog.require('goog.ui.ac.Renderer.CustomRenderer');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.Renderer}.
|
||||
*
|
||||
* @constructor
|
||||
* @param {Element=} opt_parentNode Opt_parentNode.
|
||||
* @param {?({renderRow}|{render})=} opt_customRenderer Opt_customRenderer.
|
||||
* @param {boolean=} opt_rightAlign Opt_rightAlign.
|
||||
* @param {boolean=} opt_useStandardHighlighting Opt_useStandardHighlighting.
|
||||
* @extends {goog.events.EventTarget}
|
||||
* @deprecated Use {@link goog.ui.ac.Renderer} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.Renderer = goog.ui.ac.Renderer;
|
||||
|
||||
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.Renderer}.
|
||||
* @type {number}
|
||||
*/
|
||||
goog.ui.AutoComplete.Renderer.DELAY_BEFORE_MOUSEOVER =
|
||||
goog.ui.ac.Renderer.DELAY_BEFORE_MOUSEOVER;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This is a stub for backward compatibility. For actual documentation,
|
||||
* please see {@link goog.ui.ac.Renderer.CustomRenderer}.
|
||||
* @constructor
|
||||
*/
|
||||
goog.ui.AutoComplete.Renderer.CustomRenderer =
|
||||
goog.ui.ac.Renderer.CustomRenderer;
|
||||
@@ -0,0 +1,35 @@
|
||||
// Copyright 2012 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RenderOptions}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.RenderOptions');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
goog.require('goog.ui.ac.RenderOptions');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RenderOptions}.
|
||||
* @constructor
|
||||
* @deprecated Use {@link goog.ui.ac.RenderOptions} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.RenderOptions = goog.ui.ac.RenderOptions;
|
||||
@@ -0,0 +1,45 @@
|
||||
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RichInputHandler}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.RichInputHandler');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.InputHandler');
|
||||
goog.require('goog.ui.ac.RichInputHandler');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RichInputHandler}.
|
||||
* @param {?string=} opt_separators Opt_separators.
|
||||
* @param {?string=} opt_literals Opt_literals.
|
||||
* @param {?boolean=} opt_multi Opt_multi.
|
||||
* @param {?number=} opt_throttleTime Opt_throttleTime.
|
||||
* @constructor
|
||||
* @extends {goog.ui.ac.InputHandler}
|
||||
* @deprecated Use {@link goog.ui.ac.RichInputHandler} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.RichInputHandler = goog.ui.ac.RichInputHandler;
|
||||
@@ -0,0 +1,61 @@
|
||||
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RichRemote}.
|
||||
*
|
||||
* @see ../../demos/autocompleterichremote.html
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.RichRemote');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.Remote');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.Renderer');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.RichInputHandler');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.RichRemoteArrayMatcher');
|
||||
goog.require('goog.ui.ac.RichRemote');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility.
|
||||
* For actual documentation, please see {@link goog.ui.ac.RichRemote}.
|
||||
* @param {string} url A url.
|
||||
* @param {Element} input An input.
|
||||
* @param {boolean=} opt_multi Opt_multi.
|
||||
* @param {boolean=} opt_useSimilar Opt_useSimilar.
|
||||
* @constructor
|
||||
* @extends {goog.ui.ac.Remote}
|
||||
* @deprecated Use {@link goog.ui.ac.RichRemote} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.RichRemote = goog.ui.ac.RichRemote;
|
||||
@@ -0,0 +1,43 @@
|
||||
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS-IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
/**
|
||||
* @fileoverview This is a stub for backward compatibility. For actual
|
||||
* documentation, please see {@link goog.ui.ac.RichRemoteArrayMatcher}.
|
||||
*
|
||||
*/
|
||||
|
||||
goog.provide('goog.ui.AutoComplete.RichRemoteArrayMatcher');
|
||||
|
||||
goog.require('goog.ui.AutoComplete');
|
||||
/**
|
||||
* @suppress {extraRequire} This is left here only for dependency management
|
||||
* until all existing usages are transitioned to the new namespace.
|
||||
*/
|
||||
goog.require('goog.ui.AutoComplete.RemoteArrayMatcher');
|
||||
goog.require('goog.ui.ac.RichRemoteArrayMatcher');
|
||||
|
||||
|
||||
|
||||
//TODO(user): Remove this after known usages are replaced.
|
||||
/**
|
||||
* This is a stub for backward compatibility. For actual documentation,
|
||||
* please see {@link goog.ui.ac.RichRemoteArrayMatcher}.
|
||||
* @param {string} url A url.
|
||||
* @param {boolean=} opt_noSimilar Opt_noSimilar.
|
||||
* @constructor
|
||||
* @extends {goog.ui.ac.RemoteArrayMatcher}
|
||||
* @deprecated Use {@link goog.ui.ac.RichRemoteArrayMatcher} instead.
|
||||
*/
|
||||
goog.ui.AutoComplete.RichRemoteArrayMatcher = goog.ui.ac.RichRemoteArrayMatcher;
|
||||
Reference in New Issue
Block a user