| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,4 @@ | |||
| 1 | + { | ||
| 2 | + "node": true, | ||
| 3 | + "proto": true | ||
| 4 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,3 @@ | |||
| 1 | - "use strict"; | ||
| 2 | - | ||
| 3 | 1 | var git = require('../'); | |
| 4 | 2 | var TreeEntry = git.TreeEntry; | |
| 5 | 3 | var Blob = git.Blob; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -138,7 +138,7 @@ Commit.prototype.parents = function() { | |||
| 138 | 138 | result.push(this.parentId(i)); | |
| 139 | 139 | } | |
| 140 | 140 | return result; | |
| 141 | - } | ||
| 141 | + }; | ||
| 142 | 142 | ||
| 143 | 143 | /** | |
| 144 | 144 | * Generate an array of diff trees showing changes between this commit | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -60,4 +60,4 @@ Reference.prototype.target = function() { | |||
| 60 | 60 | */ | |
| 61 | 61 | Reference.prototype.toString = function() { | |
| 62 | 62 | return this.name(); | |
| 63 | - } | ||
| 63 | + }; | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ Tree.prototype.getEntry = function(path, callback) { | |||
| 70 | 70 | if (error) return callback(error); | |
| 71 | 71 | ||
| 72 | 72 | entry.parent = self; | |
| 73 | - entry.path = function() { return path }; | ||
| 73 | + entry.path = function() { return path; }; | ||
| 74 | 74 | callback(null, entry); | |
| 75 | 75 | }); | |
| 76 | 76 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,7 @@ | |||
| 63 | 63 | "host": "https://s3.amazonaws.com/nodegit/nodegit/" | |
| 64 | 64 | }, | |
| 65 | 65 | "scripts": { | |
| 66 | - "lint": "jshint src", | ||
| 66 | + "lint": "jshint lib test/*.js", | ||
| 67 | 67 | "test": "cd test && nodeunit nodegit.js", | |
| 68 | 68 | "publish": "node-pre-gyp package && node-pre-gyp publish", | |
| 69 | 69 | "generate": "node generate/setup && node generate", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,6 +44,6 @@ exports.setUp = function(cb) { | |||
| 44 | 44 | }; | |
| 45 | 45 | ||
| 46 | 46 | Object.keys(testFiles).forEach(function(fileName) { | |
| 47 | - var testFile = testFiles[fileName] | ||
| 47 | + var testFile = testFiles[fileName]; | ||
| 48 | 48 | exports[testFile] = require('./' + testFile); | |
| 49 | 49 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments