Skip to content
This repository has been archived by the owner on Mar 10, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
symlink the correct files into narwhal, also allow passing a raw url …
…string to LPAnchorButton
  • Loading branch information
luddep committed Jul 23, 2010
1 parent 7a376b4 commit 56c73e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jakefile
Expand Up @@ -80,7 +80,7 @@ task ("build", ["LPKit"]);

task ("install", ["debug", "release"])

task ("symlink", ["release", "debug"], function()
task ("symlink-narwhal", ["release", "debug"], function()
{
// TODO: this should not be hardcoded to /usr/local - not sure how
// to actually find the path to narwhal right now though.
Expand All @@ -93,7 +93,7 @@ task ("symlink", ["release", "debug"], function()
if (aConfig === "Debug")
frameworksPath = FILE.join(frameworksPath, aConfig);

var buildPath = FILE.absolute(FILE.join("Build", aConfig, "LPKit")),
var buildPath = FILE.absolute(FILE.join(ENV["CAPP_BUILD"], aConfig, "LPKit")),
symlinkPath = FILE.join(frameworksPath, "LPKit");

OS.system(["sudo", "ln", "-s", buildPath, symlinkPath]);
Expand Down
2 changes: 1 addition & 1 deletion LPAnchorButton.j
Expand Up @@ -133,7 +133,7 @@ LPAnchorButtonHoverUnderline = 2;
self._DOMElement.appendChild(_DOMAnchorElement)
}

_DOMAnchorElement.href = [_URL absoluteString];
_DOMAnchorElement.href = typeof _URL == 'string' ? _URL : [_URL absoluteString];

var bounds = [self bounds];

Expand Down

0 comments on commit 56c73e6

Please sign in to comment.