formtastic-epiceditor 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,14 +23,15 @@ class EpicEditorInput < Formtastic::Inputs::TextInput
|
|
23
23
|
<script>
|
24
24
|
var el#{randNum} = $('##{id}'),
|
25
25
|
html = el#{randNum}.val(),
|
26
|
+
emptyVar = '',
|
26
27
|
opts = {
|
27
28
|
container: '#{id}-epiceditor',
|
28
29
|
clientSideStorage: false,
|
29
|
-
basePath: '
|
30
|
+
basePath: '',
|
30
31
|
theme: {
|
31
|
-
base:'/themes/base/epiceditor.css',
|
32
|
-
preview:'/themes/preview/preview-dark.css',
|
33
|
-
editor:'/themes/editor/epic-light.css'
|
32
|
+
base:'#{ActionController::Base.helpers.asset_path('epiceditor/themes/base/epiceditor.css')}',
|
33
|
+
preview:'#{ActionController::Base.helpers.asset_path('epiceditor/themes/preview/preview-dark.css')}',
|
34
|
+
editor:'#{ActionController::Base.helpers.asset_path('epiceditor/themes/editor/epic-light.css')}'
|
34
35
|
}
|
35
36
|
};
|
36
37
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formtastic-epiceditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|