examples/browserified/example.js
function( app ) {
	var elems = [ "content", "focusKeyword", "synonyms" ];
	for ( var i = 0; i < elems.length; i++ ) {
		document.getElementById( elems[ i ] ).addEventListener( "input", app.refresh.bind( app ) );
	}
	document.getElementById( "locale" ).addEventListener( "input", setLocale.bind( app ) );
	document.getElementById( "premium" ).addEventListener( "input", setPremium.bind( app ) );
}
function( app ) {
	var elems = [ "content", "focusKeyword", "synonyms" ];
	for ( var i = 0; i < elems.length; i++ ) {
		document.getElementById( elems[ i ] ).addEventListener( "input", app.refresh.bind( app ) );
	}
	document.getElementById( "locale" ).addEventListener( "input", setLocale.bind( app ) );
	document.getElementById( "premium" ).addEventListener( "input", setPremium.bind( app ) );
}
Binds the renewData function on the change of input elements.

@param {YoastSEO.App} app The YoastSEO.js app.

@returns {void}