dist/jscow.js
function(config) {
		
		var cfg = config;
		var self = this;
		var viewList = this.list();
		
		$(viewList).each(function(i, view) {
			
			if (!view.isInit) {
				
				if (view.dom !== 'undefined' && view.dom.main !== 'undefined') {
					
					if (i === 0 && self.cmp().placeholder()) {
						self.cmp().placeholder().replaceWith( view.dom.main );
					}
					
					if (i > 0) {
						viewList[ i - 1 ].dom.main.after( view.dom.main );
					}
					
				}
				
				view.isInit = true;
				
			}
			
		}).promise().done(function() {
			self.cmp().trigger('view.ready');
		});
		
	}
function(config) {
		
		var cfg = config;
		var self = this;
		var viewList = this.list();
		
		$(viewList).each(function(i, view) {
			
			if (!view.isInit) {
				
				if (view.dom !== 'undefined' && view.dom.main !== 'undefined') {
					
					if (i === 0 && self.cmp().placeholder()) {
						self.cmp().placeholder().replaceWith( view.dom.main );
					}
					
					if (i > 0) {
						viewList[ i - 1 ].dom.main.after( view.dom.main );
					}
					
				}
				
				view.isInit = true;
				
			}
			
		}).promise().done(function() {
			self.cmp().trigger('view.ready');
		});
		
	}
function ( config ) { var cfg = config ; var self = this ; var viewList = this . list ( ) ; $ ( viewList ) . each ( function ( i , view ) { if ( ! view . isInit ) { if ( view . dom !== 'undefined' && view . dom . main !== 'undefined' ) { if ( i === 0 && self . cmp ( ) . placeholder ( ) ) { self . cmp ( ) . placeholder ( ) . replaceWith ( view . dom . main ) ; } if ( i > 0 ) { viewList [ i - 1 ] . dom . main . after ( view . dom . main ) ; } } view . isInit = true ; } } ) . promise ( ) . done ( function ( ) { self . cmp ( ) . trigger ( 'view.ready' ) ; } ) ; }
Init method of all views of the current component instance
@method init
@param {Object} config Object with all default view configurations.
Init method of all views of the current component instance