added international amazon domains to matcher

This commit is contained in:
YOU 2013-12-11 16:05:15 +09:00
parent 003ac02a67
commit dacd3409cb

View file

@ -3,7 +3,7 @@ require_dependency 'oneboxer/handlebars_onebox'
module Oneboxer
class AmazonOnebox < HandlebarsOnebox
matcher /^https?:\/\/(?:www\.)?amazon.(com|ca)\/.*$/
matcher /^https?:\/\/(?:www\.)?amazon.(com\.au|com|br|mx|ca|at|cn|fr|de|it|es|in|co\.jp|co\.uk)\/.*$/
favicon 'amazon.png'
def template