fondant-rails 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,7 +6,7 @@ Use [fondant](https://github.com/ovenbits-ingredients/fondant) in Rails' asset p
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'fondant-rails', '~> 0.4.0'
9
+ gem 'fondant-rails', '~> 0.4.1'
10
10
 
11
11
  ## Contributing
12
12
 
@@ -1,5 +1,5 @@
1
1
  module Fondant
2
2
  module Rails
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- # ## Fondant v0.4.0
1
+ # ## Fondant v0.4.1
2
2
  #
3
3
  # The icing on the cake for user input. A simple jQuery HTML5 WYSIWYG editor
4
4
  # using `contenteditable`.
@@ -435,7 +435,7 @@ $ ->
435
435
  if instance
436
436
  return instance[option].apply(instance, args)
437
437
 
438
- @each ->
438
+ @map ->
439
439
  $this = $(this)
440
440
  instance = $this.data('fondant')
441
441
  options = typeof option == 'object' && option
@@ -446,6 +446,8 @@ $ ->
446
446
  if typeof option == 'string'
447
447
  instance[option].apply(instance, args)
448
448
 
449
+ instance.getElement()
450
+
449
451
  # ### Defaults
450
452
  #
451
453
  # Allows user to set their own defaults without having to pass in their
@@ -1,4 +1,4 @@
1
- // Fondant v0.4.0
1
+ // Fondant v0.4.1
2
2
  // see http://github.com/ovenbits-ingredients/fondant for more information
3
3
  //
4
4
  .fondant-toolbar {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fondant-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: