paginas 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/paginas.js +17 -2
- data/app/views/paginas/pages/_form.html.erb +0 -1
- data/lib/paginas/engine.rb +5 -5
- data/lib/paginas/version.rb +1 -1
- data/test/dummy/app/controllers/application_controller.rb +1 -0
- data/test/dummy/log/development.log +1235 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03043e84f64a14fc81373c8768c76925af02fb7d
|
4
|
+
data.tar.gz: 3990936367d143a4ba03e1918fa77d5c7d87b6ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d79b13c04c55135b5b2127919dc454708d217b9f3900f276b2cdddb970bd558390ff2ec268ecb81319553ff54c4dbc5cc95c6b148e62960b21fb58b6459e28
|
7
|
+
data.tar.gz: b5ae843b768bdb8269cfef0fdc6bf45bfe3d38541a66a71bc1436ad0ddd1ddfd6ab4da1d14372c4fd69c7017e16f549a66ec0ce4afd309f37bde274d12031e3c
|
@@ -2,5 +2,20 @@
|
|
2
2
|
|
3
3
|
if( typeof jQuery != 'undefined')
|
4
4
|
{
|
5
|
-
$(document).on('page:receive',function(){
|
6
|
-
|
5
|
+
$(document).on('page:receive',function(){
|
6
|
+
tinymce.remove();
|
7
|
+
});
|
8
|
+
$(document).ready(function(){
|
9
|
+
tinyMCE.init({
|
10
|
+
selector: "textarea.tinymce"
|
11
|
+
});
|
12
|
+
});
|
13
|
+
}
|
14
|
+
else
|
15
|
+
{
|
16
|
+
document.addEventListener("DOMContentLoaded", function(event) {
|
17
|
+
tinyMCE.init({
|
18
|
+
selector: "textarea.tinymce"
|
19
|
+
});
|
20
|
+
});
|
21
|
+
}
|
data/lib/paginas/engine.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module Paginas
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace Paginas
|
4
|
-
initializer 'paginas.action_controller' do |app|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
end
|
4
|
+
# initializer 'paginas.action_controller' do |app|
|
5
|
+
# ActiveSupport.on_load :action_controller do
|
6
|
+
# helper Paginas::ApplicationHelper
|
7
|
+
# end
|
8
|
+
# end
|
9
9
|
end
|
10
10
|
end
|
data/lib/paginas/version.rb
CHANGED