scrivito_pdf_widget 1.0.17 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b152bc63cc87b053b9fd9091d655383591e55da
4
- data.tar.gz: bab8eb2601d6b4cd39fd69775572921fa263ca1e
3
+ metadata.gz: df8385145640e3cfdf77df516b95cbf80f602f2a
4
+ data.tar.gz: f29be934cd547feb833cb0493934d016d59523f8
5
5
  SHA512:
6
- metadata.gz: 7378c8856c1c58cfe65c2a1159b6d96774fe98a67260304c2f9f36ac6c4f80a7578a16a7e3e7ca864295eb72138d6e4c73787772759cef013747d15aefcf3358
7
- data.tar.gz: 6ef71eb1c7a06a6b087a9d903494c1c3f5363a7f8398e967ad3f5bc846c5c412f344120049621ad200561eacc81f7c344e8c455a42dbe0d6acaba156c6f5c362
6
+ metadata.gz: 98adf7a55baab8f202bc62bfe9e4c45b87fc87a828fe8860cb5373f3361c5afa8fdc2d9258f0a4846a714a788090b07ed4651fc99ba3969e331226dd10158063
7
+ data.tar.gz: 64f056e72dc3354905c65e8cf122873d4a1e9b53aa7023574902695d858082e5962940163454a0d5af09ec375f2a0e67ad11d51e6c201655e910035998436426
@@ -1,8 +1,8 @@
1
1
  (function($) {
2
2
  'use strict';
3
3
 
4
- scrivito.on('content', function() {
5
- $('.inline-pdf').pdfViewer({
4
+ scrivito.on('content', function(content) {
5
+ $(content).find('.inline-pdf').pdfViewer({
6
6
  workerSrc: "<%= asset_url('scrivito_pdf_widget/pdf.worker.js') %>",
7
7
  lacy: false
8
8
  });
@@ -1,3 +1,3 @@
1
- <%= scrivito_thumbnail 'PDF', image_tag("pdf.png") do %>
1
+ <%= scrivito_thumbnail 'PDF', image_tag("widget_preview_pdf.png") do %>
2
2
  Display a PDF on your page.
3
3
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoPdfWidget
2
- VERSION = "1.0.17"
2
+ VERSION = "1.0.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_pdf_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-15 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -61,7 +61,7 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE
63
63
  - Rakefile
64
- - app/assets/images/pdf.png
64
+ - app/assets/images/widget_preview_pdf.png
65
65
  - app/assets/javascripts/scrivito_pdf_widget.js
66
66
  - app/assets/javascripts/scrivito_pdf_widget/application.js
67
67
  - app/assets/javascripts/scrivito_pdf_widget/editing.js
Binary file