-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,227 additions
and
948 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
sudo: false | ||
node_js: | ||
- 10 | ||
- 9 | ||
- 8 | ||
- 7 | ||
- 6 | ||
- 5 | ||
- 4 | ||
- .12 | ||
language: node_js | ||
script: npm test |
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
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,10 @@ | ||
/*** | ||
* Node External Editor | ||
* | ||
* Kevin Gravier <kevin@mrkmg.com> | ||
* MIT 2018 | ||
*/ | ||
export declare class CreateFileError extends Error { | ||
originalError: Error; | ||
constructor(originalError: Error); | ||
} |
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 |
---|---|---|
@@ -1,29 +1,36 @@ | ||
// Generated by CoffeeScript 1.12.7 | ||
|
||
/* | ||
ExternalEditor | ||
Kevin Gravier <kevin@mrkmg.com> | ||
MIT | ||
"use strict"; | ||
/*** | ||
* Node External Editor | ||
* | ||
* Kevin Gravier <kevin@mrkmg.com> | ||
* MIT 2018 | ||
*/ | ||
|
||
(function() { | ||
var CreateFileError, | ||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
hasProp = {}.hasOwnProperty; | ||
|
||
CreateFileError = (function(superClass) { | ||
extend(CreateFileError, superClass); | ||
|
||
CreateFileError.prototype.message = 'Failed to create temporary file for editor'; | ||
|
||
function CreateFileError(original_error) { | ||
this.original_error = original_error; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var CreateFileError = /** @class */ (function (_super) { | ||
__extends(CreateFileError, _super); | ||
function CreateFileError(originalError) { | ||
var _newTarget = this.constructor; | ||
var _this = _super.call(this, "Failed to create temporary file for editor") || this; | ||
_this.originalError = originalError; | ||
var proto = _newTarget.prototype; | ||
if (Object.setPrototypeOf) { | ||
Object.setPrototypeOf(_this, proto); | ||
} | ||
else { | ||
_this.__proto__ = _newTarget.prototype; | ||
} | ||
return _this; | ||
} | ||
|
||
return CreateFileError; | ||
|
||
})(Error); | ||
|
||
module.exports = CreateFileError; | ||
|
||
}).call(this); | ||
}(Error)); | ||
exports.CreateFileError = CreateFileError; |
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,10 @@ | ||
/*** | ||
* Node External Editor | ||
* | ||
* Kevin Gravier <kevin@mrkmg.com> | ||
* MIT 2018 | ||
*/ | ||
export declare class LaunchEditorError extends Error { | ||
originalError: Error; | ||
constructor(originalError: Error); | ||
} |
Oops, something went wrong.