examples/article-viewer-alt/script.js
function setArticle(id) {
	database.getAsync(id, function(article) {
		orange.model.set(article);
		orange
			.render()
			.setup();
	});
}
function setArticle(id) {
	database.getAsync(id, function(article) {
		orange.model.set(article);
		orange
			.render()
			.setup();
	});
}
function setArticle ( id ) { database . getAsync ( id , function ( article ) { orange . model . set ( article ) ; orange . render ( ) . setup ( ) ; } ) ; }
Methods
Methods