You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/10/03 17:47:47 UTC
[49/50] git commit: updated
refs/heads/1894-feature-experimental-nodejs-couchjs to 532100c
move module exports past function decrarations
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/447f101d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/447f101d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/447f101d
Branch: refs/heads/1894-feature-experimental-nodejs-couchjs
Commit: 447f101d3245e18384cddfedc10277ff7fe2647b
Parents: 0902e8c
Author: Sven Lito <me...@svenlito.com>
Authored: Thu Oct 3 16:33:11 2013 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Oct 3 17:45:40 2013 +0200
----------------------------------------------------------------------
src/couchjs-node/couchjs.js | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/447f101d/src/couchjs-node/couchjs.js
----------------------------------------------------------------------
diff --git a/src/couchjs-node/couchjs.js b/src/couchjs-node/couchjs.js
index 7b12dc3..84c21e0 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
+};
+