This commit is contained in:
André Cruz
2013-02-28 01:25:26 +00:00
parent 339831a1ed
commit bcc96cfec3

View File

@@ -817,14 +817,12 @@ Package.prototype.resolveShorthand = function (shorthand, path) {
shorthand = hogan.compile(shorthand);
var parts = path.split('/');
var data = {
return shorthand.render({
organization: parts[0],
package: parts[1],
endpoint: path
};
var result = shorthand.render(data);
return result;
});
};
Package.prototype.__defineGetter__('localPath', function () {