isso: js: treewide: De-indent one level
Since switching from RequireJS to CommonJS syntax, the
`define()` wrapper is no longer needed and as such, the the
code formerly inside parentheses can be de-indented by one
level.
-define(function() {
-
"use strict";
var stderr = function(text) { console.log(text); };
@@ -49,9 +47,9 @@ define(function() {
}
};
- return {
- defer: function() { return new Defer(); },
- when: when
- };
+var defer = function() { return new Defer(); };
-});
+module.exports = {
+ defer: defer,
+ when: when,
+};
