Skip to content

Commit

Permalink
Added AMD define module name
Browse files Browse the repository at this point in the history
Bumped version to 2.4.1
  • Loading branch information
ChromeQ committed Feb 22, 2017
1 parent 8da41ee commit 58c3e26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-url",
"version": "2.4.0",
"version": "2.4.1",
"description": "A simple, lightweight url parser for JavaScript (~1.7 Kb minified, ~0.7Kb gzipped).",
"main": "url.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion url.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"websanova",
"url"
],
"version": "2.4.0",
"version": "2.4.1",
"author": {
"name": "Websanova",
"email": "rob@websanova.com",
Expand Down
2 changes: 1 addition & 1 deletion url.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
})();

if (typeof window.define === 'function' && window.define.amd) {
window.define([], function () {
window.define('js-url', [], function () {
return url;
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion url.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58c3e26

Please sign in to comment.