pagelet_rails 0.2.0 → 0.2.1

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: d4e4d6d941dd7ae780bb1e934f157e092fa3a09c
4
- data.tar.gz: 59f346de0c8ae0a2b8c909d6e15baad70fd73179
3
+ metadata.gz: 82ee0c08a5d5d3fbbf4f0299765c57c2d1c23ea9
4
+ data.tar.gz: 6e8ceadc6623d8e391c4b74af32cfde34cd8ac98
5
5
  SHA512:
6
- metadata.gz: 5f834814d7a35ffe3e71079961fee5225fa51516a9c152565372d43924f8df8ea7b3cfc0e94320a4cd4d77801ba84202fad58fa0ec89dc778d9b0bb6de98e9be
7
- data.tar.gz: 9ebfd6f85d0481e4878285f0d165d9207e29903b514dfcf4a0dd08a5355400657c414c5156b7c4222b412cd0ecf6bfaff7a23fd1bb1edd4ee771aa9c9ee03a6b
6
+ metadata.gz: dfca334ef24a817b5e52350685fde770b9c265eb6dbc5a0d8a2f2dc415a75f50105fed394e318b9ccf17e0695733f43e551bb3fabd28a1e2dbe628088bf8aef6
7
+ data.tar.gz: d5ddccf5c4beaf1f979fa7db48f9dd17576d36ea6f9b29f2887a1c48547c6d7e7c1d3d15a07b75356f5be88d51bbeb0f7214dc39a6ed2341dd0036039178a821
@@ -1,3 +1,7 @@
1
+ ### 0.2.1
2
+
3
+ - Add parameters to javascript `pagelet-loaded` event: id, tags, content
4
+
1
5
  ### 0.2.0
2
6
 
3
7
  - Fixed bug when original html class is lost (#12)
@@ -116,7 +116,7 @@
116
116
  root.placeToContainer(id, content);
117
117
  root.processDataRemoteTags();
118
118
  root.tagsChanged(id, tags);
119
- $(document).trigger('pagelet-loaded');
119
+ $(document).trigger('pagelet-loaded', [id, tags, content]);
120
120
  };
121
121
 
122
122
  root.placeToContainer = function(id, content) {
@@ -1,3 +1,3 @@
1
1
  module PageletRails
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagelet_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Katunin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-24 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails