function initAtDCore() {
		atdCore = new AtDCore();
		atdCore.map = each;
		atdCore._isTinyMCE = true;

		atdCore.getAttrib = function( node, key ) {
			return dom.getAttrib( node, key );
		};

		atdCore.findSpans = function( parent ) {
			if ( parent === undefined ) {
				return dom.select( 'span' );
			}

			return dom.select( 'span', parent );
		};

		atdCore.hasClass = function( node, className ) {
			return dom.hasClass( node, className );
		};

		atdCore.contents = function( node ) {
			return node.childNodes;
		};

		atdCore.replaceWith = function( old_node, new_node ) {
			return dom.replace( new_node, old_node );
		};

		atdCore.create = function( node_html ) {
			return dom.create( 'span', { class: 'mceItemHidden', 'data-mce-bogus': 1 }, node_html );
		};

		atdCore.removeParent = function( node ) {
			dom.remove( node, true );
			return node;
		};

		atdCore.remove = function( node ) {
			dom.remove( node );
		};

		atdCore.setIgnoreStrings( editor.getParam( 'atd_ignore_strings', [] ).join( ',' ) );
		atdCore.showTypes( editor.getParam( 'atd_show_types', '' ) );
	}
function initAtDCore() {
		atdCore = new AtDCore();
		atdCore.map = each;
		atdCore._isTinyMCE = true;

		atdCore.getAttrib = function( node, key ) {
			return dom.getAttrib( node, key );
		};

		atdCore.findSpans = function( parent ) {
			if ( parent === undefined ) {
				return dom.select( 'span' );
			}

			return dom.select( 'span', parent );
		};

		atdCore.hasClass = function( node, className ) {
			return dom.hasClass( node, className );
		};

		atdCore.contents = function( node ) {
			return node.childNodes;
		};

		atdCore.replaceWith = function( old_node, new_node ) {
			return dom.replace( new_node, old_node );
		};

		atdCore.create = function( node_html ) {
			return dom.create( 'span', { class: 'mceItemHidden', 'data-mce-bogus': 1 }, node_html );
		};

		atdCore.removeParent = function( node ) {
			dom.remove( node, true );
			return node;
		};

		atdCore.remove = function( node ) {
			dom.remove( node );
		};

		atdCore.setIgnoreStrings( editor.getParam( 'atd_ignore_strings', [] ).join( ',' ) );
		atdCore.showTypes( editor.getParam( 'atd_show_types', '' ) );
	}
function initAtDCore ( ) { atdCore = new AtDCore ( ) ; atdCore . map = each ; atdCore . _isTinyMCE = true ; atdCore . getAttrib = function ( node , key ) { return dom . getAttrib ( node , key ) ; } ; atdCore . findSpans = function ( parent ) { if ( parent === undefined ) { return dom . select ( 'span' ) ; } return dom . select ( 'span' , parent ) ; } ; atdCore . hasClass = function ( node , className ) { return dom . hasClass ( node , className ) ; } ; atdCore . contents = function ( node ) { return node . childNodes ; } ; atdCore . replaceWith = function ( old_node , new_node ) { return dom . replace ( new_node , old_node ) ; } ; atdCore . create = function ( node_html ) { return dom . create ( 'span' , { class : 'mceItemHidden' , 'data-mce-bogus' : 1 } , node_html ) ; } ; atdCore . removeParent = function ( node ) { dom . remove ( node , true ) ; return node ; } ; atdCore . remove = function ( node ) { dom . remove ( node ) ; } ; atdCore . setIgnoreStrings ( editor . getParam ( 'atd_ignore_strings' , [ ] ) . join ( ',' ) ) ; atdCore . showTypes ( editor . getParam ( 'atd_show_types' , '' ) ) ; }
/* initializes the functions used by the AtD Core UI Module
/ * initializes the functions used by the AtD Core UI Module