Skip to content

Commit

Permalink
fixed #19
Browse files Browse the repository at this point in the history
  • Loading branch information
twpl committed Feb 6, 2017
1 parent 0e9f9be commit 363b5d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/filter/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports.filter_video = function(result){

// I check required attributes in <amp-video> .
if( !$(this).attr( "width" ) || !$(this).attr("height") || !$(this).attr("poster") ){
lg.log("warn", "<video> should contain width and height and poster attribute. " , post.source);
lg.log("warn", "<video> should contain width and height and poster attribute. " , result.post.source);
}

// createElement
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-generator-amp",
"version": "2.0.6",
"version": "2.0.7",
"main": "index",
"dependencies": {
"amphtml-validator": "^1.0.18",
Expand Down

0 comments on commit 363b5d2

Please sign in to comment.