@@ -29,7 +29,9 @@ package bindable {
29
29
implicit def jsArrayBindableSeq [Value0 ]: BindableSeq .Aux [js.Array [Value0 ], Value0 ] =
30
30
new BindableSeq [js.Array [Value0 ]] {
31
31
type Value = Value0
32
- def toBindingSeq (from : js.Array [Value0 ]): BindingSeq [Value ] = Constants (scalajs.runtime.toScalaVarArgs(from): _* )
32
+ def toBindingSeq (from : js.Array [Value0 ]): BindingSeq [Value ] = Constants (
33
+ scalajs.runtime.toScalaVarArgs(from): _*
34
+ )
33
35
}
34
36
}
35
37
@@ -75,16 +77,17 @@ package bindable {
75
77
def toBinding (from : Binding [Value0 ]): Binding [Value ] = from
76
78
}
77
79
78
- implicit def futureBindable [Value0 ](
79
- implicit executionContext : ExecutionContext ): Bindable .Aux [Future [Value0 ], Option [Try [Value0 ]]] =
80
+ implicit def futureBindable [Value0 ](implicit
81
+ executionContext : ExecutionContext
82
+ ): Bindable .Aux [Future [Value0 ], Option [Try [Value0 ]]] =
80
83
new Bindable [Future [Value0 ]] {
81
84
type Value = Option [Try [Value0 ]]
82
85
def toBinding (from : Future [Value0 ]): Binding [Value ] = FutureBinding (from)
83
86
}
84
87
85
88
@ enableIf(c => c.compilerSettings.exists(_.matches(""" ^-Xplugin:.*scalajs-compiler_[0-9\.\-]*\.jar$""" )))
86
89
implicit def thenableBindable [Value0 ]
87
- : Bindable .Aux [scala.scalajs.js.Thenable [Value0 ], Option [Either [Any , Value0 ]]] =
90
+ : Bindable .Aux [scala.scalajs.js.Thenable [Value0 ], Option [Either [Any , Value0 ]]] =
88
91
new Bindable [scala.scalajs.js.Thenable [Value0 ]] {
89
92
type Value = Option [Either [Any , Value0 ]]
90
93
def toBinding (from : scala.scalajs.js.Thenable [Value0 ]): Binding [Value ] = JsPromiseBinding (from)
0 commit comments