deprecated.js (1403B)
1 /* 2 * Copyright 2008 The Closure Compiler Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * @fileoverview JavaScript Built-Ins that are not 19 * part of any specifications but are 20 * still needed in some project's build. 21 * @externs 22 * 23 */ 24 25 // Do we need an opera.js? 26 var opera; 27 Window.prototype.opera; 28 Window.prototype.opera.postError; 29 30 /** @constructor */ function XSLTProcessor() {} 31 /** 32 * @param {*=} opt_text 33 * @param {*=} opt_value 34 * @param {*=} opt_defaultSelected 35 * @param {*=} opt_selected 36 * @constructor 37 * @extends {Element} 38 */ 39 function Option(opt_text, opt_value, opt_defaultSelected, opt_selected) {} 40 41 42 // The "methods" object is a place to hang arbitrary external 43 // properties. It is a throwback to pre-typed days, and should 44 // not be used for any new definitions; it exists only to bridge 45 // the gap between the old way and the new way. 46 var methods = {};