godmin-redactor 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1eff63e39537b1cd7977ca3bce56050cc6cb82c
4
- data.tar.gz: b31dd14a36f9323828e1e9be1259e7124f129e1d
3
+ metadata.gz: e549e5a6ee0d3d7f2662cd0d3e47817719d62a68
4
+ data.tar.gz: 9939916d66fc0efe2461faf47c2cedae2d7c8bf3
5
5
  SHA512:
6
- metadata.gz: 06a59abc01ac8b337fb86cabdc84ba552342311f6c4d80deb08620e7a44ab654a58b1318ed72534ec27f78d3351aa6b1e23dedbeba3ae186d78eff9eedc74684
7
- data.tar.gz: 3102e537f33bf7e7c23871de1c1c84cf41a9a10ed4c0902f844ca53fd2c4e9fbd4bb013958c0f8c726b5f8105b3bb983654bb607e0dc3c748c96205209ec7898
6
+ metadata.gz: d5daa9460f9bc1a3df3fcddb747e81719e743f5e12c8f501a1d0b944bea4ced0a79bbbee7e094aa8c52d82b614a420f9fac7746f0f6754abdafde74cb10e5603
7
+ data.tar.gz: e6d303f8104f8b58cf160cb4e63b1ed1c82afeab4a6c6d911ceb40ab9b1504704f9dd6872777c2f066677ce75d5da9c7f1dfe1916e17433cd2f37fad062075e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.1.2 - 2015-03-26
4
+ Features
5
+ - Adds possibility to use multiple redactor areas with different configurations on the same page
6
+
3
7
  ### 0.1.1 - 2015-03-12
4
8
  Features
5
9
  - Adds possibility to pass Redactor options
@@ -27,7 +27,9 @@ Godmin.Redactor = (function() {
27
27
  }
28
28
 
29
29
  function initializeRedactor($el) {
30
- $el.redactor($el.data("options"));
30
+ $el.each(function() {
31
+ $(this).redactor($(this).data("options"));
32
+ });
31
33
  }
32
34
 
33
35
  return {
@@ -1,5 +1,5 @@
1
1
  module Godmin
2
2
  module Redactor
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godmin-redactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Varvet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-12 00:00:00.000000000 Z
11
+ date: 2015-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: godmin