Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created February 1, 2010 02:07
Show Gist options
  • Save tolmasky/291399 to your computer and use it in GitHub Desktop.
Save tolmasky/291399 to your computer and use it in GitHub Desktop.
Francisco-Tolmaskys-MacBook:Resources tolmasky$ NARWHAL_ENGINE=jsc objj
objj> objj_executeFile
i dont understand
load em up
DEPENDENCY: initiated by (Anonymous)
DEPENDENCY: Ended
done with that
objj_executeFile
function (aPath, isLocal, shouldForce) {
aPath = importablePath(aPath, isLocal, dirname);
var fileExecutableSearch = new FileExecutableSearch(aPath, isLocal),
fileExecutable = fileExecutableSearch.result();
if (0 && !fileExecutable.hasLoadedFileDependencies())
throw "No executable loaded for file at path " + aPath;
fileExecutable.execute(shouldForce);
}
objj> @import <Foundation/Foundation.j>
i dont understand
load em up
DEPENDENCY: initiated by (Anonymous)
WILL SEARCH IN: /Users/tolmasky/Development/narwhal/packages/cappuccino/Frameworks/Debug/Foundation/CPObject.j
FOUND...: CPObject.j
DEPENDENCY: Ended
done with that
objj_executeFile("Foundation/Foundation.j", false);
SyntaxError: Parse error
objj>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment