Bump to v1.0.1.

Former-commit-id: b2536f9a226c7418ad3aaa7b5fb88282b77d20e5
This commit is contained in:
John-David Dalton
2013-02-18 00:07:13 -08:00
parent 7093e9c0d4
commit 2459a53350
12 changed files with 64 additions and 72 deletions

View File

@@ -2324,9 +2324,6 @@
} else {
source = source.replace(/(?: *\/\/.*\n)* *(?:else )?if *\(freeExports\) *{\s*}(?:\s*else *{([\s\S]+?) *})?\n/, '$1\n');
}
if ((source.match(/\bfreeExports\b/g) || []).length < 2) {
source = removeVar(source, 'freeExports');
}
}());
/*------------------------------------------------------------------------*/
@@ -2409,6 +2406,12 @@
source = source.replace(/^ *\(function\(\) *{[\s\S]+?}\(1\)\);\n/m, '');
}
}
if ((source.match(/\bfreeModule\b/g) || []).length < 2) {
source = removeVar(source, 'freeModule');
}
if ((source.match(/\bfreeExports\b/g) || []).length < 2) {
source = removeVar(source, 'freeExports');
}
debugSource = cleanupSource(source);
source = cleanupSource(source);