Author: zhoresh
Date: Fri Aug 27 01:03:50 2010
New Revision: 989992
URL: http://svn.apache.org/viewvc?rev=989992&view=rev
Log:
Fix feature=shindig.uri.ext to return object instead of a function
http://codereview.appspot.com/2038041/
Modified:
shindig/trunk/features/src/main/javascript/features/shindig.uri.ext/util.js
Modified:
shindig/trunk/features/src/main/javascript/features/shindig.uri.ext/util.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/shindig.uri.ext/util.js?rev=989992&r1=989991&r2=989992&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/shindig.uri.ext/util.js
(original)
+++ shindig/trunk/features/src/main/javascript/features/shindig.uri.ext/util.js
Fri Aug 27 01:03:50 2010
@@ -53,7 +53,7 @@ shindig.uri = (function() {
}
var selfPath = self.getPath();
if (selfPath == '' || selfPath[0] != '/') {
- var basePath = base.getPath();
+ var basePath = base.getPath();
var lastSlash = basePath.lastIndexOf('/');
if (lastSlash != -1) {
basePath = basePath(0, lastSlash + 1);
@@ -72,4 +72,4 @@ shindig.uri = (function() {
};
return self;
};
-});
+})();