Add (incomplete) bootstrap.js externs

This commit is contained in:
Frederic Junod
2013-03-11 12:37:50 +01:00
parent 7be0203cbe
commit 6d90a9987d
2 changed files with 22 additions and 0 deletions

21
externs/bootstrap.js vendored Normal file
View 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) {};