twitter-bootstrap-form-builder 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ module MNE
|
|
107
107
|
if opts.keys.include?(key)
|
108
108
|
sub_opts = opts.delete(key)
|
109
109
|
|
110
|
-
return [
|
110
|
+
return [defaults.merge(sub_opts)] if sub_opts.is_a? Hash
|
111
111
|
return [sub_opts, defaults] if sub_opts.is_a? String
|
112
112
|
|
113
113
|
# If we were explicitly given an array, we're done.
|