diff options
Diffstat (limited to 'cordova/node_modules/xmlbuilder/lib/XMLAttribute.js')
| -rwxr-xr-x | cordova/node_modules/xmlbuilder/lib/XMLAttribute.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cordova/node_modules/xmlbuilder/lib/XMLAttribute.js b/cordova/node_modules/xmlbuilder/lib/XMLAttribute.js deleted file mode 100755 index 51ccebe..0000000 --- a/cordova/node_modules/xmlbuilder/lib/XMLAttribute.js +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by CoffeeScript 1.10.0 -(function() { - var XMLAttribute; - - module.exports = XMLAttribute = (function() { - function XMLAttribute(parent, name, value) { - this.options = parent.options; - this.stringify = parent.stringify; - if (name == null) { - throw new Error("Missing attribute name of element " + parent.name); - } - if (value == null) { - throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function() { - return Object.create(this); - }; - - XMLAttribute.prototype.toString = function(options) { - return this.options.writer.set(options).attribute(this); - }; - - return XMLAttribute; - - })(); - -}).call(this); |
