Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Passed base to the URI constructor. #33

Merged
merged 1 commit into from

2 participants

@LarryBattle

Shouldn't the base variable also be passed as an argument?

@rodneyrehm rodneyrehm merged commit 94c49fd into medialize:gh-pages
@rodneyrehm
Owner

good catch! thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 24, 2012
  1. @LarryBattle
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/URI.js
View
2  src/URI.js
@@ -24,7 +24,7 @@ var _use_module = typeof module !== "undefined" && module.exports,
URI = function(url, base) {
// Allow instantiation without the 'new' keyword
if (!(this instanceof URI)) {
- return new URI(url);
+ return new URI(url, base);
}
if (url === undefined) {
Something went wrong with that request. Please try again.