phrasing 4.0.0rc7 → 4.0.0rc8

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: 45d9d28e356958ff4907adf8f317431574275071
4
- data.tar.gz: 22ce7cc3280e6344b0d25d04e53170aefbb2d71b
3
+ metadata.gz: b7036620483f7894d6bf69deef7fc9c6c9a2a253
4
+ data.tar.gz: 5cdc754ad87ff8c852fcadb04d11472e3fc84734
5
5
  SHA512:
6
- metadata.gz: cdf31560d38b54d610c9ab2134d0cd44bea0b4c546b763247916dbde451bbf09213d56d6938a0a6f16525e821ef43b98cbcc9e2b17591f0ee7252242e659f5aa
7
- data.tar.gz: de25e2d89d3c3775abc0096e6895a8503270fc5f42cda55fff7a5ad3035059f483e58f2981694c74c2bcc97061a6744bf11e5c5b96e79f9c97e0fb84654d1178
6
+ metadata.gz: 73e754a320b2ae1fc493a7a9e604c919cac7dfa4c2c15b9fb04ffcb008cf39271104180f1989cbffb09f858b2acbcd81fdab87889a13096e79668276fb82b385
7
+ data.tar.gz: 9fda4b44fcac9b67f340ff252d5af41e22a3ce9269b8da7f4579562624b8f8714dc8b0dd47783cee9d7bc7add9e88ba184c8f148d6bf8a6487034b63d9e7a5b1
@@ -201,7 +201,7 @@ var editor = (function() {
201
201
  //if any of its parents has the class of 'phrasable' go hooray
202
202
  while ( element.parentNode ) {
203
203
  if (element.className !== undefined){
204
- if (element.className.indexOf("phrasable-on")>=0){
204
+ if (element.className.indexOf("phrasable-on")>=0 && element.className.indexOf("phrasable")>=0){
205
205
  return true;
206
206
  }
207
207
  }
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "4.0.0rc7"
2
+ VERSION = "4.0.0rc8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0rc7
4
+ version: 4.0.0rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-23 00:00:00.000000000 Z
12
+ date: 2015-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails