forked from neumino/rethinkdbdash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:neumino/rethinkdbdash
* 'master' of github.com:neumino/rethinkdbdash: (304 commits) Fix leaked variable from test Bump to 2.3.27 Fix neumino#313 Bump to 2.3.26 fix: return null where new Promises are created but not returned Fix leak in tests Fix leak in tests Bump to 2.3.25 Make identification errors operational such that they can be properly caught - Fix neumino#295 Bump to 2.3.24 Close the stream if an error is emitted since we can't recover frm it Remove the use of Buffer with new for node 7 - Fix neumino#304 Wrap sending the proof in a try/catch in case the connection is closed - Fix neumino#296 Bump to 2.3.23 Prevent bluebird warning - Fix neumino#287 Bump to 2.3.22 Prevent bluebird warning - Fix neumino#285 function r: remove unused parameter `options` readme: minor typo fix Bump to 2.3.21 ...
- Loading branch information
Showing
71 changed files
with
23,363 additions
and
15,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
npm-debug.log | ||
node_modules | ||
test.js | ||
rethinkdbdash.js | ||
rethinkdbdash_datadir* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
var browserify = require('browserify'); | ||
var fs = require('fs'); | ||
|
||
var REQUIRE_FILES = [ | ||
'connection.js', | ||
'cursor.js', | ||
'dequeue.js', | ||
'error.js', | ||
'helper.js', | ||
'metadata.js', | ||
'pool.js', | ||
'pool_master.js', | ||
'protodef.js', | ||
'stream.js', | ||
'term.js', | ||
'transform_stream.js', | ||
'writable_stream.js' | ||
]; | ||
|
||
var b = browserify('./lib/') | ||
b.add('./lib/index.js') | ||
for(var i=0; i<REQUIRE_FILES.length; i++) { | ||
b.require('./lib/'+REQUIRE_FILES[i], {expose: './lib/'+REQUIRE_FILES[i]}) | ||
} | ||
b.require('./lib/index.js', {expose: 'rethinkdbdash'}) | ||
b.bundle(function(err, result) { | ||
if (err) { | ||
console.log(err); | ||
return; | ||
} | ||
fs.writeFileSync('./rethinkdbdash.js', result); | ||
}); |
Oops, something went wrong.