Sweet, fixed tests

This commit is contained in:
Peter Cottle 2013-01-20 23:42:23 -08:00
parent 05fdff72f5
commit d9050fd854
7 changed files with 31 additions and 9 deletions

View file

@ -146,7 +146,10 @@ var init = function() {
}
};
$(document).ready(init);
if (require('../util').isBrowser()) {
// this file gets included via node sometimes as well
$(document).ready(init);
}
/**
* the UI method simply bootstraps the command buffer and