Home
last modified time | relevance | path

Searched refs:dom (Results 26 – 50 of 206) sorted by relevance

123456789

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Exception/
H A DNoAbstractTest.php14 $dom = new \DOMDocument('1.0','utf-8');
15 $root = $dom->createElementNS('DAV:','d:root');
16 $dom->appendChild($root);
27 $dom2->loadXML($dom->saveXML());
H A DNotSupportedPrivilegeTest.php14 $dom = new \DOMDocument('1.0','utf-8');
15 $root = $dom->createElementNS('DAV:','d:root');
16 $dom->appendChild($root);
27 $dom2->loadXML($dom->saveXML());
H A DNeedPrivilegesExceptionTest.php19 $dom = new \DOMDocument('1.0','utf-8');
20 $root = $dom->createElementNS('DAV:','d:root');
21 $dom->appendChild($root);
37 $dom2->loadXML($dom->saveXML());
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Xml/
H A DTotals.php50 $dom = $container->ownerDocument;
52 $this->linesNode = $dom->createElementNS(
62 $this->functionsNode = $dom->createElementNS(
72 $this->traitsNode = $dom->createElementNS(
H A DNode.php18 private $dom; variable in SebastianBergmann\\CodeCoverage\\Report\\Xml\\Node
32 $this->dom = $context->ownerDocument;
38 return $this->dom;
52 $this->dom->createElementNS(
H A DProject.php23 $dom = new \DOMDocument;
24 …$dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="http://schema.phpunit.de/coverage/1.0"><proje…
27 $dom->getElementsByTagNameNS(
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DClient.php197 $dom = new \DOMDocument('1.0', 'UTF-8');
198 $dom->formatOutput = true;
199 $root = $dom->createElementNS('DAV:', 'd:propfind');
200 $prop = $dom->createElement('d:prop');
210 $element = $dom->createElement('d:' . $elementName);
212 $element = $dom->createElementNS($namespace, 'x:' . $elementName);
218 $dom->appendChild($root)->appendChild($prop);
219 $body = $dom->saveXML();
/plugin/datatables/assets/datatables.net-fixedheader/js/
H A DdataTables.fixedHeader.min.js
/plugin/gallery/script/
H A Dprosemirror.js312 if (!this.dom) {
313 this.dom = document.createElement('div');
318 jQuery(this.dom)
326 jQuery(this.dom).addClass('dwplugin dwplugin_gallery');
329 this.dom.innerHTML = $renderedWrapper.html();
330 this.dom.classList = $renderedWrapper.attr('class') + ' dwplugin_gallery nodeHasForm';
331 jQuery(this.dom).children().css('pointer-events', 'none');
332 jQuery(this.dom).on('click', function () {
354 this.dom.classList.add('ProseMirror-selectednode');
358 this.dom
[all...]
/plugin/diagrams/script/
H A DDiagramsView.js10 * Render the node into this.dom
14 * attributes to dom attributes.
22 // copy attributes to dom element
29 this.dom = elem;
38 this.dom.classList.add('ProseMirror-selectednode');
54 this.dom.classList.remove('ProseMirror-selectednode');
/plugin/struct/jsoneditor/
H A Djsoneditor-minimalist.min.js30 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):"object"==typeof exports?exports.JSONEditor=t():e.JSONEditor=t()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function i(e,t,n){if(!(this instanceof i))throw new Error('JSONEditor constructor called without "new".');var o=l.getInternetExplorerVersion();if(-1!=o&&9>o)throw new Error("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");if(t&&(t.error&&(console.warn('Option "error" has been renamed to "onError"'),t.onError=t.error,delete t.error),t.change&&(console.warn('Option "change" has been renamed to "onChange"'),t.onChange=t.change,delete t.change),t.editable&&(console.warn('Option "editable" has been renamed to "onEditable"'),t.onEditable=t.editable,delete t.editable),t)){var r=["ace","theme","ajv","schema","onChange","onEditable","onError","onModeChange","escapeUnicode","history","search","mode","modes","name","indentation"];Object.keys(t).forEach(function(e){-1===r.indexOf(e)&&console.warn('Unknown option "'+e+'". This option will be ignored')})}arguments.length&&this._create(e,t,n)}var o;try{o=n(!function(){var e=new Error('Cannot find module "ajv/dist/ajv.bundle.js"');throw e.code="MODULE_NOT_FOUND",e}())}catch(r){}var s=n(1),a=n(2),l=n(3);i.modes={},i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._create=function(e,t,n){this.container=e,this.options=t||{},this.json=n||{};var i=this.options.mode||"tree";this.setMode(i)},i.prototype._delete=function(){},i.prototype.set=function(e){this.json=e},i.prototype.get=function(){return this.json},i.prototype.setText=function(e){this.json=l.parse(e)},i.prototype.getText=function(){return JSON.stringify(this.json)},i.prototype.setName=function(e){this.options||(this.options={}),this.options.name=e},i.prototype.getName=function(){return this.options&&this.options.name},i.prototype.setMode=function(e){var t,n,o=this.container,r=l.extend({},this.options),s=r.mode;r.mode=e;var a=i.modes[e];if(!a)throw new Error('Unknown mode "'+r.mode+'"');try{var c="text"==a.data;if(n=this.getName(),t=this[c?"getText":"get"](),this._delete(),l.clear(this),l.extend(this,a.mixin),this.create(o,r),this.setName(n),this[c?"setText":"set"](t),"function"==typeof a.load)try{a.load.call(this)}catch(d){console.error(d)}if("function"==typeof r.onModeChange&&e!==s)try{r.onModeChange(e,s)}catch(d){console.error(d)}}catch(d){this._onError(d)}},i.prototype.getMode=function(){return this.options.mode},i.prototype._onError=function(e){if(!this.options||"function"!=typeof this.options.onError)throw e;this.options.onError(e)},i.prototype.setSchema=function(e){if(e){var t;try{t=this.options.ajv||o({allErrors:!0,verbose:!0})}catch(n){console.warn("Failed to create an instance of Ajv, JSON Schema validation is not available. Please use a JSONEditor bundle including Ajv, or pass an instance of Ajv as via the configuration option `ajv`.")}t&&(this.validateSchema=t.compile(e),this.options.schema=e,this.validate())}else this.validateSchema=null,this.options.schema=null,this.validate()},i.prototype.validate=function(){},i.registerMode=function(e){var t,n;if(l.isArray(e))for(t=0;t<e.length;t++)i.registerMode(e[t]);else{if(!("mode"in e))throw new Error('Property "mode" missing');if(!("mixin"in e))throw new Error('Property "mixin" missing');if(!("data"in e))throw new Error('Property "data" missing');var o=e.mode;if(o in i.modes)throw new Error('Mode "'+o+'" already registered');if("function"!=typeof e.mixin.create)throw new Error('Required function "create" missing on mixin');var r=["setMode","registerMode","modes"];for(t=0;t<r.length;t++)if(n=r[t],n in e.mixin)throw new Error('Reserved property "'+n+'" not allowed in mixin');i.modes[o]=e}},i.registerMode(s),i.registerMode(a),e.exports=i},function(e,t,n){var i=n(4),o=n(5),r=n(6),s=n(7),a=n(8),l=n(9),c=n(3),d={};d.create=function(e,t){if(!e)throw new Error("No container element provided.");this.container=e,this.dom={},this.highlighter=new i,this.selection=void 0,this.multiselection={nodes:[]},this.validateSchema=null,this.errorNodes=[],this._setOptions(t),this.options.history&&"view"!==this.options.mode&&(this.history=new o(this)),this._createFrame(),this._createTable()},d._delete=function(){this.frame&&this.container&&this.frame.parentNode==this.container&&this.container.removeChild(this.frame)},d._setOptions=function(e){if(this.options={search:!0,history:!0,mode:"tree",name:void 0,schema:null},e)for(var t in e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.setSchema(this.options.schema),this._debouncedValidate=c.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL)};var h=void 0,u=null;d.set=function(e,t){if(t&&(console.warn('Second parameter "name" is deprecated. Use setName(name) instead.'),this.options.name=t),e instanceof Function||void 0===e)this.clear();else{this.content.removeChild(this.table);var n={field:this.options.name,value:e},i=new a(this,n);this._setRoot(i),this.validate();var o=!1;this.node.expand(o),this.content.appendChild(this.table)}this.history&&this.history.clear(),this.searchBox&&this.searchBox.clear()},d.get=function(){return h&&h.blur(),this.node?this.node.getValue():void 0},d.getText=function(){return JSON.stringify(this.get())},d.setText=function(e){this.set(c.parse(e))},d.setName=function(e){this.options.name=e,this.node&&this.node.updateField(this.options.name)},d.getName=function(){return this.options.name},d.focus=function(){var e=this.content.querySelector("[contenteditable=true]");e?e.focus():this.node.dom.expand?this.node.dom.expand.focus():this.node.dom.menu?this.node.dom.menu.focus():(e=this.frame.querySelector("button"),e&&e.focus())},d.clear=function(){this.node&&(this.node.collapse(),this.tbody.removeChild(this.node.getDom()),delete this.node)},d._setRoot=function(e){this.clear(),this.node=e,this.tbody.appendChild(e.getDom())},d.search=function(e){var t;return this.node?(this.content.removeChild(this.table),t=this.node.search(e),this.content.appendChild(this.table)):t=[],t},d.expandAll=function(){this.node&&(this.content.removeChild(this.table),this.node.expand(),this.content.appendChild(this.table))},d.collapseAll=function(){this.node&&(this.content.removeChild(this.table),this.node.collapse(),this.content.appendChild(this.table))},d._onAction=function(e,t){this.history&&this.history.add(e,t),this._onChange()},d._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}},d.validate=function(){this.errorNodes&&this.errorNodes.forEach(function(e){e.setError(null)});var e=this.node;if(e){var t=e.validate(),n=[];if(this.validateSchema){var i=this.validateSchema(e.getValue());i||(n=this.validateSchema.errors.map(function(e){return c.improveSchemaError(e)}).map(function(t){return{node:e.findNode(t.dataPath),error:t}}).filter(function(e){return null!=e.node}))}this.errorNodes=t.concat(n).reduce(function(e,t){return t.node.findParents().map(function(e){return{node:e,child:t.node,error:{message:"object"===e.type?"Contains invalid properties":"Contains invalid items"}}}).concat(e,[t])},[]).map(function(e){return e.node.setError(e.error,e.child),e.node})}},d.startAutoScroll=function(e){var t=this,n=this.content,i=c.getAbsoluteTop(n),o=n.clientHeight,r=i+o,s=24,a=50;i+s>e&&n.scrollTop>0?this.autoScrollStep=(i+s-e)/3:e>r-s&&o+n.scrollTop<n.scrollHeight?this.autoScrollStep=(r-s-e)/3:this.autoScrollStep=void 0,this.autoScrollStep?this.autoScrollTimer||(this.autoScrollTimer=setInterval(function(){t.autoScrollStep?n.scrollTop-=t.autoScrollStep:t.stopAutoScroll()},a)):this.stopAutoScroll()},d.stopAutoScroll=function(){this.autoScrollTimer&&(clearTimeout(this.autoScrollTimer),delete this.autoScrollTimer),this.autoScrollStep&&delete this.autoScrollStep},d.setSelection=function(e){e&&("scrollTop"in e&&this.content&&(this.content.scrollTop=e.scrollTop),e.nodes&&this.select(e.nodes),e.range&&c.setSelectionOffset(e.range),e.dom&&e.dom.focus())},d.getSelection=function(){var e=c.getSelectionOffset();return e&&"DIV"!==e.container.nodeName&&(e=null),{dom:u,range:e,nodes:this.multiselection.nodes.slice(0),scrollTop:this.content?this.content.scrollTop:0}},d.scrollTo=function(e,t){var n=this.content;if(n){var i=this;i.animateTimeout&&(clearTimeout(i.animateTimeout),delete i.animateTimeout),i.animateCallback&&(i.animateCallback(!1),delete i.animateCallback);var o=n.clientHeight,r=n.scrollHeight-o,s=Math.min(Math.max(e-o/4,0),r),a=function(){var e=n.scrollTop,o=s-e;Math.abs(o)>3?(n.scrollTop+=o/3,i.animateCallback=t,i.animateTimeout=setTimeout(a,50)):(t&&t(!0),n.scrollTop=s,delete i.animateTimeout,delete i.animateCallback)};a()}else t&&t(!1)},d._createFrame=function(){function e(e){t._onEvent&&t._onEvent(e)}this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.container.appendChild(this.frame);var t=this;this.frame.onclick=function(t){var n=t.target;e(t),"BUTTON"==n.nodeName&&t.preventDefault()},this.frame.oninput=e,this.frame.onchange=e,this.frame.onkeydown=e,this.frame.onkeyup=e,this.frame.oncut=e,this.frame.onpaste=e,this.frame.onmousedown=e,this.frame.onmouseup=e,this.frame.onmouseover=e,this.frame.onmouseout=e,c.addEventListener(this.frame,"focus",e,!0),c.addEventListener(this.frame,"blur",e,!0),this.frame.onfocusin=e,this.frame.onfocusout=e,this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var n=document.createElement("button");n.className="jsoneditor-expand-all",n.title="Expand all fields",n.onclick=function(){t.expandAll()},this.menu.appendChild(n);var i=document.createElement("button");if(i.title="Collapse all fields",i.className="jsoneditor-collapse-all",i.onclick=function(){t.collapseAll()},this.menu.appendChild(i),this.history){var o=document.createElement("button");o.className="jsoneditor-undo jsoneditor-separator",o.title="Undo last action (Ctrl+Z)",o.onclick=function(){t._onUndo()},this.menu.appendChild(o),this.dom.undo=o;var s=document.createElement("button");s.className="jsoneditor-redo",s.title="Redo (Ctrl+Shift+Z)",s.onclick=function(){t._onRedo()},this.menu.appendChild(s),this.dom
[all...]
/plugin/imapmarkers/syntax/
H A Dimapmarkers_simple_html_dom.php65 $dom = new simple_html_dom(
89 $dom->clear();
115 $dom->clear();
135 private $dom = null; variable in imapmarkers\\simple_html_dom_node
138 $this->dom = $dom;
139 $dom->nodes[] = $this;
151 $this->dom = null;
365 if ($this->dom && $this->dom->callback !== null) {
379 if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]) {
531 $n = ($k === -1) ? $this->dom->root : $this->dom->nodes[$k];
[all …]
/plugin/sqlraw/
H A Dsimple_html_dom.php84 return $dom;
93 $dom->clear();
97 return $dom;
125 private $dom = null; variable in simple_html_dom_node
127 function __construct($dom) argument
129 $this->dom = $dom;
146 $this->dom = null;
382 if ($this->dom && $this->dom->callback!==null)
391 if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]])
524 $n = ($k===-1) ? $this->dom->root : $this->dom->nodes[$k];
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Schedule/
H A DPlugin.php698 $dom = new \DOMDocument('1.0', 'utf-8');
699 $dom->formatOutput = true;
700 $scheduleResponse = $dom->createElement('cal:schedule-response');
706 $dom->appendChild($scheduleResponse);
709 $xresponse = $dom->createElement('cal:response');
711 $recipient = $dom->createElement('cal:recipient');
712 $recipientHref = $dom->createElement('d:href');
714 $recipientHref->appendChild($dom->createTextNode($result['href']));
718 $reqStatus = $dom->createElement('cal:request-status');
724 $calendardata = $dom->createElement('cal:calendar-data');
[all …]
/plugin/htmlokay/
H A Dscript.js145 var dom = document.getElementById('htmlOK_user_table');
151 dom.style.height=height + "em";
157 var dom = document.getElementById('htmlOK_user_table');
160 dom.style.overflow="scroll";
165 dom.style.overflow="visible";
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DXML.php58 $dom = new \DOMDocument();
62 if (!$dom->loadXML($key)) {
66 $xpath = new \DOMXPath($dom);
/plugin/zotero/
H A DFeedZoteroRepository.php12 private $dom; variable in FeedZoteroRepository
32 $this->dom = new DomDocument();
33 $this->dom->loadXml($feed);
54 $this->xpath = new DomXPath($this->dom);
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Schedule/
H A DPlugin.php839 $dom = new \DOMDocument('1.0', 'utf-8');
840 $dom->formatOutput = true;
841 $scheduleResponse = $dom->createElement('cal:schedule-response');
847 $dom->appendChild($scheduleResponse);
850 $xresponse = $dom->createElement('cal:response');
852 $recipient = $dom->createElement('cal:recipient');
853 $recipientHref = $dom->createElement('d:href');
855 $recipientHref->appendChild($dom->createTextNode($result['href']));
859 $reqStatus = $dom->createElement('cal:request-status');
865 $calendardata = $dom->createElement('cal:calendar-data');
[all …]
/plugin/findologicxmlexport/vendor/sebastian/global-state/tests/_fixture/
H A DSnapshotClass.php21 private static $dom; variable in SebastianBergmann\\GlobalState\\TestFixture\\SnapshotClass
30 self::$dom = new DomDocument();
/plugin/icalevents/vendor/squizlabs/php_codesniffer/scripts/
H A Dbuild-phar.php71 $dom = new DOMDocument('1.0', 'utf-8');
72 $loaded = $dom->loadXML(file_get_contents($packageFile));
78 $contents = $dom->getElementsByTagName('contents');
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DXML.php90 $dom = new \DOMDocument();
95 if (!$dom->loadXML($key)) {
99 $xpath = new \DOMXPath($dom);
149 $dom = new \DOMDocument();
150 if (!$dom->loadXML($xml)) {
153 $xpath = new \DOMXPath($dom);
163 return $dom->saveXML($node);
/plugin/svgpureinsert/
H A Dhelper.php57 $dom = new DomDocument();
58 $dom->loadHtml("<html $input />");
60 foreach($dom->documentElement->attributes as $name => $attr) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DXML.php67 $dom = new \DOMDocument();
71 if (!$dom->loadXML($key)) {
75 $xpath = new \DOMXPath($dom);
/plugin/ckgdoku/ckeditor/plugins/table/dialogs/
H A Dtable.js1dom.element(k,h.document)};var g=h.editable();var i;return{title:h.lang.table.title,minWidth:310,m…
/plugin/ckgedit/ckeditor/plugins/table/dialogs/
H A Dtable.js1dom.element(k,h.document)};var g=h.editable();var i;return{title:h.lang.table.title,minWidth:310,m…

123456789