lib/core.js
function multi(list /*, ... */) {
		var mw = core.base();
		mw.targets = (isArray(list) ? list : Array.prototype.slice.call(arguments.length, 0));
		mw.enabled = true;
		mw.writeln = function (line) {
			if (mw.enabled) {
				for (var i = 0, ii = mw.targets.length; i < ii; i++) {
					mw.targets[i].writeln(line);
				}
			}
		};
		mw.toString = function () {
			return '<miniwrite-multi>';
		};
		return mw;
	}
function multi(list /*, ... */) {
		var mw = core.base();
		mw.targets = (isArray(list) ? list : Array.prototype.slice.call(arguments.length, 0));
		mw.enabled = true;
		mw.writeln = function (line) {
			if (mw.enabled) {
				for (var i = 0, ii = mw.targets.length; i < ii; i++) {
					mw.targets[i].writeln(line);
				}
			}
		};
		mw.toString = function () {
			return '<miniwrite-multi>';
		};
		return mw;
	}
function multi ( list /*, ... */ ) { var mw = core . base ( ) ; mw . targets = ( isArray ( list ) ? list : Array . prototype . slice . call ( arguments . length , 0 ) ) ; mw . enabled = true ; mw . writeln = function ( line ) { if ( mw . enabled ) { for ( var i = 0 , ii = mw . targets . length ; i < ii ; i ++ ) { mw . targets [ i ] . writeln ( line ) ; } } } ; mw . toString = function ( ) { return '<miniwrite-multi>' ; } ; return mw ; }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - call multiple other writers
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - call multiple other writers