Skip to content

Commit

Permalink
Change AMD jQuery require statement to use all lowercase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Galang authored and Jeff Galang committed Jul 9, 2015
1 parent 02d9bae commit a117996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jQuery'], factory);
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require('jQuery'));
module.exports = factory(require('jquery'));
} else {
// Browser globals (root is window)
root.lightbox = factory(root.jQuery);
Expand Down

0 comments on commit a117996

Please sign in to comment.