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
classiccms-0.6.9 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.8 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.7 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.6 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.5 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.4 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.3 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.2 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.1 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.6.0 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.17 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.16 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.15 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.14 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.13 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.12 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.11 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.10 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
classiccms-0.5.9 lib/classiccms/public/js/ckeditor/plugins/xml/plugin.js
radiant-ck_editor_filter-extension-0.2.7 public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/xml/plugin.js