Add (incomplete) bootstrap.js externs
This commit is contained in:
1
build.py
1
build.py
@@ -211,6 +211,7 @@ def examples_star_json(name, match):
|
||||
'//json.js',
|
||||
'//jquery-1.7.js',
|
||||
'externs/bingmaps.js',
|
||||
'externs/bootstrap.js',
|
||||
'externs/geojson.js',
|
||||
'externs/proj4js.js',
|
||||
'externs/tilejson.js',
|
||||
|
||||
21
externs/bootstrap.js
vendored
Normal file
21
externs/bootstrap.js
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @fileoverview Externs for bootstrap.js
|
||||
*
|
||||
* @see http://twitter.github.com/bootstrap/javascript.html
|
||||
* @externs
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param {String|Object.<string,*>=} option
|
||||
* @return {!jQuery}
|
||||
*/
|
||||
jQuery.prototype.popover = function(option) {};
|
||||
|
||||
|
||||
/**
|
||||
* @param {String|Object.<string,*>=} option
|
||||
* @return {!jQuery}
|
||||
*/
|
||||
jQuery.prototype.tooltip = function(option) {};
|
||||
Reference in New Issue
Block a user