sub {
$_->select('.bucket-name')->replace_content($obj->bucket->name)
->select('.made-at')->replace_content($obj->made_at)
- ->select('.bucket-link')->set_attribute({
- name => 'href', value => $obj->bucket->slug.'/'
- })
+ ->select('.bucket-link')->set_attribute(
+ 'href' => $obj->bucket->slug.'/'
+ )
->select('.new-videos')->replace_content($obj->video_count)
->select('.total-videos')->replace_content(
$obj->bucket->video_count
$_->select('.video-name')->replace_content($video->name)
->select('.video-author')->replace_content($video->author)
->select('.video-link')->set_attribute(
- { name => 'href', value => $video->slug.'/' }
+ href => $video->slug.'/'
)
}
}))
$_->select('.video-name')->replace_content($video->name)
->select('.author-name')->replace_content($video->author)
->select('.bucket-link')->set_attribute(
- { name => 'href', value => '../' }
+ href => '../'
)
->select('.bucket-name')->replace_content($video->bucket->name)
->select('.video-details')->replace_content($video->details)