Sha256: f28cf3c9420ca947430e5df87d75ecb0a8e71dcb000d98d206a972c37c016af5

Contents?: true

Size: 1.33 KB

Versions: 150

Compression:

Stored size: 1.33 KB

Contents

/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

(function(){CKEDITOR.plugins.add('xml',{});CKEDITOR.xml=function(a){var b=null;if(typeof a=='object')b=a;else{var c=(a||'').replace(/ /g,'\xa0');if(window.DOMParser)b=new DOMParser().parseFromString(c,'text/xml');else if(window.ActiveXObject){try{b=new ActiveXObject('MSXML2.DOMDocument');}catch(d){try{b=new ActiveXObject('Microsoft.XmlDom');}catch(d){}}if(b){b.async=false;b.resolveExternals=false;b.validateOnParse=false;b.loadXML(c);}}}this.baseXml=b;};CKEDITOR.xml.prototype={selectSingleNode:function(a,b){var c=this.baseXml;if(b||(b=c))if(CKEDITOR.env.ie||b.selectSingleNode)return b.selectSingleNode(a);else if(c.evaluate){var d=c.evaluate(a,b,null,9,null);return d&&d.singleNodeValue||null;}return null;},selectNodes:function(a,b){var c=this.baseXml,d=[];if(b||(b=c))if(CKEDITOR.env.ie||b.selectNodes)return b.selectNodes(a);else if(c.evaluate){var e=c.evaluate(a,b,null,5,null);if(e){var f;while(f=e.iterateNext())d.push(f);}}return d;},getInnerXml:function(a,b){var c=this.selectSingleNode(a,b),d=[];if(c){c=c.firstChild;while(c){if(c.xml)d.push(c.xml);else if(window.XMLSerializer)d.push(new XMLSerializer().serializeToString(c));c=c.nextSibling;}}return d.length?d.join(''):null;}};})();

Version data entries

150 entries across 147 versions & 16 rubygems

Version Path
spiderfw-1.0.1 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-1.0.0 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.39 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
classiccms-0.7.5 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.7.4 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.7.3 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
radiant-ck_editor_filter-extension-0.2.9 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.38 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.37 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.35 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.34 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.33 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.32 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.31 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.30 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.29 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
classiccms-0.7.2 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.7.1 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
spiderfw-0.6.28 apps/core/forms/public/ckeditor/plugins/xml/plugin.js
classiccms-0.7.0 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js