markdown_preview 0.1.3 → 0.1.4

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.
@@ -117,7 +117,7 @@
117
117
  $.ajax({
118
118
  type: 'POST',
119
119
  url: '/markdown_preview/convert',
120
- data: 'format=json&markdown_text=' + editor_content,
120
+ data: { 'format' : 'json', 'markdown_text' : editor_content },
121
121
  success: function( data, textStatus, jqXHR ){
122
122
  preview.html( data['html'] );
123
123
  },
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = Gem::Platform::RUBY
3
3
  s.name = 'markdown_preview'
4
- s.version = '0.1.3'
4
+ s.version = '0.1.4'
5
5
  s.authors = ["Jeff McFadden"]
6
6
  s.email = "jeff.mcfadden@gmail.com"
7
7
  s.homepage = "http://github.com/jeffmcfadden/markdown_preview"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: markdown_preview
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff McFadden
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-19 00:00:00 Z
13
+ date: 2011-08-05 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdiscount