Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/OTapi/node_modules/xmlbuilder/lib/ drwxr-xr-x | |
| Viewing file: Select action/file-type: // Generated by CoffeeScript 2.4.1
(function() {
var XMLCharacterData, XMLNode;
XMLNode = require('./XMLNode');
// Represents a character data node
module.exports = XMLCharacterData = (function() {
class XMLCharacterData extends XMLNode {
// Initializes a new instance of `XMLCharacterData`
constructor(parent) {
super(parent);
this.value = '';
}
// Creates and returns a deep clone of `this`
clone() {
return Object.create(this);
}
// DOM level 1 functions to be implemented later
substringData(offset, count) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
appendData(arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
insertData(offset, arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
deleteData(offset, count) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
replaceData(offset, count, arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
isEqualNode(node) {
if (!super.isEqualNode(node)) {
return false;
}
if (node.data !== this.data) {
return false;
}
return true;
}
};
// DOM level 1
Object.defineProperty(XMLCharacterData.prototype, 'data', {
get: function() {
return this.value;
},
set: function(value) {
return this.value = value || '';
}
});
Object.defineProperty(XMLCharacterData.prototype, 'length', {
get: function() {
return this.value.length;
}
});
// DOM level 3
Object.defineProperty(XMLCharacterData.prototype, 'textContent', {
get: function() {
return this.value;
},
set: function(value) {
return this.value = value || '';
}
});
return XMLCharacterData;
}).call(this);
}).call(this);
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |