57 lines
2.0 KiB
JavaScript
57 lines
2.0 KiB
JavaScript
// 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;
|