conditionally initialize onLoad and onUnload. fixes #186

This commit is contained in:
Mark Harrah 2011-09-16 22:04:51 -04:00
parent b55c13d254
commit babe8dbbdb
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ object Defaults extends BuildCommon
pollInterval :== 500,
logBuffered :== false,
autoScalaLibrary :== true,
onLoad :== idFun[State],
onUnload :== idFun[State],
onLoad <<= onLoad ?? idFun[State],
onUnload <<= onUnload ?? idFun[State],
definesClass :== FileValueCache(Locate.definesClass _ ).get,
trapExit :== false,
trapExit in run :== true,