fwi 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fwi.gemspec +1 -1
- data/lib/fwi/compilers/js/gen.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a180c45d14702ed61cb70c8935b388e49cba993d
|
4
|
+
data.tar.gz: d8681b83847717e4e87f93542bd48419826aa004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09e6fb26f608943a35d391c3610f4844b0be33d49ad0c250f54b0e645d4bc01c4bce5581ca68c01ba3aa6f0a9c6c585a1babaf324c31f7b3559c537de9a3afb
|
7
|
+
data.tar.gz: 44b6e489a02cbc264af4610a9f8e06e0bb4b8959c84e84189e216ae6950c3dcae29e5c527aa5ed988aef5190d4c8716b33c3c48828295e03eda9db56e05ceb47
|
data/fwi.gemspec
CHANGED
data/lib/fwi/compilers/js/gen.rb
CHANGED
@@ -11,7 +11,7 @@ module Generator
|
|
11
11
|
internal_type = "child" if type == :reference && member[:element_type] == :block
|
12
12
|
internal_type = "u8" if type == :reference && member[:element_type] == :enum
|
13
13
|
|
14
|
-
param = member[:array].nil? ? "" : "
|
14
|
+
param = member[:array].nil? ? "" : "index#{mode == :setter ? ', ' : ''}"
|
15
15
|
custom_getter = member[:attribute_map]["getter"]
|
16
16
|
custom_setter = member[:attribute_map]["setter"]
|
17
17
|
custom_length = member[:attribute_map]["length_func"]
|