| 1 | /* |
| 2 | * Copyright 2008 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 | /** @constructor */ function NodeFilter() {} |
| 32 | /** |
| 33 | * @param {*=} opt_text |
| 34 | * @param {*=} opt_value |
| 35 | * @param {*=} opt_defaultSelected |
| 36 | * @param {*=} opt_selected |
| 37 | * @constructor |
| 38 | * @extends {Element} |
| 39 | */ |
| 40 | function Option(opt_text, opt_value, opt_defaultSelected, opt_selected) {} |
| 41 | |
| 42 | |
| 43 | // The "methods" object is a place to hang arbitrary external |
| 44 | // properties. It is a throwback to pre-typed days, and should |
| 45 | // not be used for any new definitions; it exists only to bridge |
| 46 | // the gap between the old way and the new way. |
| 47 | var methods = {}; |