aboutsummaryrefslogtreecommitdiff
path: root/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
commit5f466137ad6ac596600e3ff53c9b786815398445 (patch)
treef914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
parentc9f5ac8e763eda19aa0564179300cfff76785435 (diff)
node_modules, clean up package.json
Diffstat (limited to 'node_modules/xmlbuilder/lib/XMLProcessingInstruction.js')
-rw-r--r--node_modules/xmlbuilder/lib/XMLProcessingInstruction.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js b/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
deleted file mode 100644
index 596f5a6de..000000000
--- a/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Generated by CoffeeScript 1.9.1
-(function() {
- var XMLProcessingInstruction, create;
-
- create = require('lodash/create');
-
- module.exports = XMLProcessingInstruction = (function() {
- function XMLProcessingInstruction(parent, target, value) {
- this.stringify = parent.stringify;
- if (target == null) {
- throw new Error("Missing instruction target");
- }
- this.target = this.stringify.insTarget(target);
- if (value) {
- this.value = this.stringify.insValue(value);
- }
- }
-
- XMLProcessingInstruction.prototype.clone = function() {
- return create(XMLProcessingInstruction.prototype, this);
- };
-
- XMLProcessingInstruction.prototype.toString = function(options, level) {
- var indent, newline, offset, pretty, r, ref, ref1, ref2, space;
- pretty = (options != null ? options.pretty : void 0) || false;
- indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' ';
- offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0;
- newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n';
- level || (level = 0);
- space = new Array(level + offset + 1).join(indent);
- r = '';
- if (pretty) {
- r += space;
- }
- r += '<?';
- r += this.target;
- if (this.value) {
- r += ' ' + this.value;
- }
- r += '?>';
- if (pretty) {
- r += newline;
- }
- return r;
- };
-
- return XMLProcessingInstruction;
-
- })();
-
-}).call(this);