Skip to content

Commit

Permalink
Merge pull request #55 from ChromeQ/master
Browse files Browse the repository at this point in the history
Added AMD define module name
  • Loading branch information
websanova authored Feb 23, 2017
2 parents 8da41ee + 58c3e26 commit daeed5e
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.

2 comments on commit daeed5e

@ChromeQ
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the tag is in the incorrect format, I think the V needs to be lowercase for bower to be able to link to the correct version.
Running bower install js-url is still fetching v2.4.0

@websanova
Copy link
Owner Author

@websanova websanova commented on daeed5e Feb 23, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.