Coding style in helper

This commit is contained in:
Anatoliy Chakkaev 2013-02-19 16:32:44 +08:00
parent 7bb233e269
commit b9eaba0166
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ try {
} }
var group_name = false, EXT_EXP; var group_name = false, EXT_EXP;
function it (should, test_case) { function it(should, test_case) {
check_external_exports(); check_external_exports();
if (group_name) { if (group_name) {
EXT_EXP[group_name][should] = test_case; EXT_EXP[group_name][should] = test_case;
@ -39,7 +39,7 @@ function context(name, tests) {
global.context = context; global.context = context;
exports.init = function (external_exports) { exports.init = function init(external_exports) {
EXT_EXP = external_exports; EXT_EXP = external_exports;
if (external_exports.done) { if (external_exports.done) {
external_exports.done(); external_exports.done();