summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Lito <me@svenlito.com>2013-10-03 16:33:11 +0100
committerJan Lehnardt <jan@apache.org>2013-10-03 17:45:40 +0200
commit447f101d3245e18384cddfedc10277ff7fe2647b (patch)
tree30c1e6e0f9005351edad473419805c5c6a20ee36
parent0902e8c5e8f7e66eecfacbdb266422d51f8cafc3 (diff)
downloadcouchdb-447f101d3245e18384cddfedc10277ff7fe2647b.tar.gz
move module exports past function decrarations
-rw-r--r--src/couchjs-node/couchjs.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/couchjs-node/couchjs.js b/src/couchjs-node/couchjs.js
index 7b12dc387..84c21e0ed 100644
--- a/src/couchjs-node/couchjs.js
+++ b/src/couchjs-node/couchjs.js
@@ -10,14 +10,6 @@
// License for the specific language governing permissions and limitations under
// the License.
-module.exports = {
- 'print': print,
- 'readline': readline,
- 'stdin': stdin,
- 'evalcx': evalcx,
- 'quit': quit,
- 'gc': gc
-};
var vm = require('vm');
@@ -127,3 +119,13 @@ function toSource() {
return util.inspect(this);
}
+
+module.exports = {
+ 'print': print,
+ 'readline': readline,
+ 'stdin': stdin,
+ 'evalcx': evalcx,
+ 'quit': quit,
+ 'gc': gc
+};
+