0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

automatic grunt dist

This commit is contained in:
Bootstrap's Grunt bot 2015-01-28 19:10:59 +00:00
parent cd4467b194
commit a7747dedf2
2 changed files with 6 additions and 2 deletions

View File

@ -1279,6 +1279,10 @@ if (typeof jQuery === 'undefined') {
this.options = this.getOptions(options)
this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!');
}
var triggers = this.options.trigger.split(' ')
for (var i = triggers.length; i--;) {

File diff suppressed because one or more lines are too long