lib/scribd_fu.rb in scribd_fu-2.0.4 vs lib/scribd_fu.rb in scribd_fu-2.0.5
- old
+ new
@@ -29,9 +29,10 @@
'application/vnd.openxmlformats-officedocument.wordprocessingml.template'
]
# RegExp that matches AWS S3 URLs
S3 = /^https?:\/\/s3.amazonaws.com/
+ CLOUD_FRONT = /^http:\/\/[A-Za-z0-9]*.cloudfront.net/
# Available parameters for the JS API
# http://www.scribd.com/publisher/api/api?method_name=Javascript+API
Available_JS_Params = [ :height, :width, :page, :my_user_id, :search_query,
:jsapi_version, :disable_related_docs, :mode, :auto_size ]