Permalink
Browse files

Fixing ipaper javascript output

  • Loading branch information...
1 parent 026b1ea commit 2864288b949fb0403ea56101c6034e6f910d3d72 @aubreyrhodes committed Dec 13, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/scribd-carrierwave.rb
  2. +1 −1 lib/scribd-carrierwave/version.rb
@@ -59,8 +59,8 @@ def display_ipaper(options = {})
var scribd_doc = scribd.Document.getDoc(#{ipaper_id}, '#{ipaper_access_key}');
scribd_doc.addParam( 'jsapi_version', 2 );
#{options.map do |k,v|
- "scribd_doc.addParam('#{k.to_s}', #{v.is_a?(String) ? "'#{v.to_s}'" : v.to_s})"
- end.join('\n')}
+ " scribd_doc.addParam('#{k.to_s}', #{v.is_a?(String) ? "'#{v.to_s}'" : v.to_s});"
+ end.join("\n")}
scribd_doc.write("embedded_flash#{id}");
</script>
END
@@ -1,3 +1,3 @@
module ScribdCarrierWave
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
end

0 comments on commit 2864288

Please sign in to comment.