added comment to leave semicolon off of last line.

This commit is contained in:
walterhiggins 2014-03-15 18:21:20 +00:00
parent c3db7a4314
commit d59b0682de

View file

@ -267,7 +267,7 @@ When resolving module names to file paths, ScriptCraft uses the following rules.
} catch (e) { } catch (e) {
throw new Error( "Error executing module " + path throw new Error( "Error executing module " + path
+ " line #" + e.lineNumber + " line #" + e.lineNumber
+ " : " + e.message, canonizedFilename, e.lineNumber ) + " : " + e.message, canonizedFilename, e.lineNumber );
} }
if ( hooks ) { if ( hooks ) {
hooks.loaded( canonizedFilename ); hooks.loaded( canonizedFilename );
@ -283,4 +283,5 @@ When resolving module names to file paths, ScriptCraft uses the following rules.
}; };
}; };
return _requireClosure( new java.io.File(rootDir) ); return _requireClosure( new java.io.File(rootDir) );
// last line deliberately has no semicolon!
}) })