Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions purl.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
if (typeof define === 'function' && define.amd) {
define(factory);
} else {
window.purl = factory();
this.purl = factory();
}
})(function() {

Expand Down Expand Up @@ -260,7 +260,9 @@
}
};

purl.jQuery(window.jQuery);
if ( typeof window !== 'undefined' ) {
purl.jQuery(window.jQuery);
}

return purl;

Expand Down