私はこのコードを実行しようとしています:
var width = 0;
$('.photos article').each(function(){ width = width + $(this).width();});
$('.photos').width(width);
ビューがレンダリングされ、それを行う方法がわからない場合、すべてのビューとコンテンツを含むコードは次のとおりです。
http://jsbin.com/okezum/6/edit
すべてのビューでコードを実行したいのですが、誰か助けてもらえますか?