revelry_core 0.1.10.2 → 0.1.10.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c959a7c0cdb7f1a0b082064ae318fd6a46a8f0ef
|
4
|
+
data.tar.gz: 6dc4d44d5ea8db61ce0ffa5d28ef279db522a73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053e5ce08c7b23b8d1a329ca9169217ad568b0a59f3982bd00dc888d573b5247c75b35ca237e279b5f442ccbeb5ad7aa1975130784b659e7b47e75f5363ac2ad
|
7
|
+
data.tar.gz: 86daaee4acba210fb36db63e89acd6d9a08e272c736746d1252c9b56708b14d50988838dacbd294ce1fdf8210202639d05be21381e02440079a13c5290948d1f
|
@@ -1,7 +1,5 @@
|
|
1
1
|
Rev.registerMixin 'Core',
|
2
2
|
|
3
|
-
cx: React.addons.classSet
|
4
|
-
|
5
3
|
suitSet: (base, flags)->
|
6
4
|
classes = {}
|
7
5
|
classes[base] = true
|
@@ -38,10 +36,14 @@ Rev.registerMixin 'Core',
|
|
38
36
|
classAdd: (classToBoolMap) ->
|
39
37
|
newClassToBoolMap = @_getClassSetObject()
|
40
38
|
newClassToBoolMap[name] = value for name, value of classToBoolMap
|
41
|
-
|
39
|
+
@classSet newClassToBoolMap
|
42
40
|
|
43
41
|
# Alias for `React.addons.classSet`
|
44
|
-
classSet:
|
42
|
+
classSet: (classNameToBool) ->
|
43
|
+
classNames = []
|
44
|
+
for className, shouldBeIncluded of classNameToBool
|
45
|
+
classNames.push className if shouldBeIncluded
|
46
|
+
classNames.join ' '
|
45
47
|
|
46
48
|
# Alias for `@classSet`
|
47
49
|
cx: -> @classSet.apply this, arguments
|
data/lib/revelry_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revelry_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.10.
|
4
|
+
version: 0.1.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revelry Labs, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|