Skip to content

Commit

Permalink
Merge pull request #464 from vtforester/master
Browse files Browse the repository at this point in the history
Change AMD jQuery require statement to use all lowercase.
  • Loading branch information
lokesh committed Jul 9, 2015
2 parents 02d9bae + a117996 commit 2709761
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 2709761

Please sign in to comment.