FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Stop re-exporting things from lib · buzzkillhardball/nodegit@de14353 · GitHub

Repository navigation

Commit de14353

Browse files
committed
Stop re-exporting things from lib
All of our stuff is put directly on `Nodegit.{type}`, so no need to assign that {type} object to module.exports. What was still there was a holdover from how we used to do that, which caused issues so we stopped.
1 parent 86b2a56 commit de14353

7 files changed

Lines changed: 0 additions & 14 deletions

File tree

‎lib/convenient_hunks.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,3 @@ var size = ConvenientHunk.prototype.size;
5959
* @return {Number}
6060
*/
6161
ConvenientHunk.prototype.size = size;
62-
63-
module.exports = ConvenientHunk;

‎lib/convenient_patch.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,3 @@ var status = ConvenientPatch.prototype.status;
129129
* @return {Number}
130130
*/
131131
ConvenientPatch.prototype.status = status;
132-
133-
module.exports = ConvenientPatch;

‎lib/diff_file.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,3 @@ var size = DiffFile.prototype.size;
3636
* @return {Number}
3737
*/
3838
DiffFile.prototype.size = size;
39-
40-
module.exports = DiffFile;

‎lib/remote.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,3 @@ Remote.prototype.push = function(refSpecs, opts) {
132132

133133
return push.call(this, refSpecs, opts);
134134
};
135-
136-
module.exports = Remote;

‎lib/repository.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,5 +1675,3 @@ Repository.prototype.treeBuilder = function() {
16751675

16761676
return builder;
16771677
};
1678-
1679-
module.exports = Repository;

‎lib/reset.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ Reset.reset = function(repo, target, resetType, opts) {
4949

5050
return reset.call(this, repo, target, resetType, opts);
5151
};
52-
53-
module.exports = Reset;

‎lib/revert.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,3 @@ Revert.commit = function(
4444
return result;
4545
}, callback);
4646
};
47-
48-
module.exports = Revert;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL