trestle-tinymce 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3f1daaec312814059d3c203564e60494fb3fb9b
4
- data.tar.gz: 5d8a4c58c9bf8f3e3505351c7901a0cc40b44e74
3
+ metadata.gz: 2c8229395feba7e14f844eb1d8ef444d352fe4f4
4
+ data.tar.gz: 93de07f3bb3060d6c061b3ba1d1b1634fd5e6362
5
5
  SHA512:
6
- metadata.gz: 629a210fb069b3e65b2c6906780f232279763a9de2466c84d57fcc8c040d19789d7d0050b449d05541426619cda7daf2e90c1a05470ed9be1995bbd19dd81e21
7
- data.tar.gz: aa395a2926e1941ec5a226e2281e257df5cd656142b4c65863ed5c686a302fb8ea50a577da1d0eb202f00dd81d009a3708ebffa3603fb9077e3466c81958da8c
6
+ metadata.gz: beffffc73ee1c4e351f8abdbda9f53ea243a7edd52c80a73e6f2bdef31011ea9dcb6d24b8c3b6a844f5482d3b2cbc4330097be3bcbb8ee803a7259c3bb4c19b6
7
+ data.tar.gz: a921c31124e557c137cc15f8f835a30d1d806723ef93f393c6a83e158a28d18a20cccdf47cb007d5b1129390d9077f5fe1c465ae24f7fc2b999be78b480e8730
data/Rakefile CHANGED
@@ -1,6 +1 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
@@ -0,0 +1,13 @@
1
+ Trestle.TinyMCE = {};
2
+
3
+ Trestle.ready(function() {
4
+ function init() {
5
+ if (typeof(tinyMCE) !== 'undefined') {
6
+ tinyMCE.init(Trestle.TinyMCE.default);
7
+ } else {
8
+ setTimeout(init, 50);
9
+ }
10
+ }
11
+
12
+ init();
13
+ });
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module TinyMCE
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trestle-tinymce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trestle
@@ -97,7 +97,7 @@ files:
97
97
  - app/assets/javascripts/tinymce/skins/trestle/img/object.gif
98
98
  - app/assets/javascripts/tinymce/skins/trestle/img/trans.gif
99
99
  - app/assets/javascripts/tinymce/skins/trestle/skin.min.scss
100
- - app/assets/javascripts/trestle/tinymce.js.coffee
100
+ - app/assets/javascripts/trestle/tinymce.js
101
101
  - config/initializers/trestle.rb
102
102
  - lib/trestle/tinymce.rb
103
103
  - lib/trestle/tinymce/configuration.rb
@@ -1,10 +0,0 @@
1
- Trestle.TinyMCE = {}
2
-
3
- Trestle.ready ->
4
- init = ->
5
- if tinyMCE?
6
- tinyMCE.init(Trestle.TinyMCE.default)
7
- else
8
- setTimeout(init, 50)
9
-
10
- init()