Skip to content

Commit

Permalink
Don't explicitly reference global jQuery
Browse files Browse the repository at this point in the history
Removes `window.jQuery` in favor of `jQuery`, fixes twbs#10038
  • Loading branch information
daguej committed Aug 22, 2013
1 parent 0c04006 commit f140084
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion js/affix.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@
})
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@

$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@
e.preventDefault()
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
})
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@
$target.collapse(option)
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@
.on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@
.on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@
return this
}

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/scrollspy.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@
})
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@
$(this).tab('show')
})

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,4 +383,4 @@
return this
}

}(window.jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion js/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
$.support.transition = transitionEnd()
})

}(window.jQuery);
}(jQuery);

0 comments on commit f140084

Please sign in to comment.