examples/streamlineMe/streamlineMe.js
function _transform() {
	var codeIn = $('#codeIn').val();
	try {
		var codeOut = Streamline.transform(codeIn, {
			runtime: _generators ? "generators" : "callbacks",
		});
		$('#codeOut').val(codeOut);
		info("ready");
	} catch (ex) {
		console.error(ex);
		error(ex.message);
	}
}
function _transform() {
	var codeIn = $('#codeIn').val();
	try {
		var codeOut = Streamline.transform(codeIn, {
			runtime: _generators ? "generators" : "callbacks",
		});
		$('#codeOut').val(codeOut);
		info("ready");
	} catch (ex) {
		console.error(ex);
		error(ex.message);
	}
}
function _transform ( ) { var codeIn = $ ( '#codeIn' ) . val ( ) ; try { var codeOut = Streamline . transform ( codeIn , { runtime : _generators ? "generators" : "callbacks" , } ) ; $ ( '#codeOut' ) . val ( codeOut ) ; info ( "ready" ) ; } catch ( ex ) { console . error ( ex ) ; error ( ex . message ) ; } }
define demo if user does not execute intro
define demo if user does not execute intro