This repository was archived by the owner on Feb 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed
facade/src/main/scala/react/semanticui Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
- version = "2.5.3 "
1
+ version = "2.6.1 "
2
2
style = default
3
3
4
4
maxColumn = 100
Original file line number Diff line number Diff line change @@ -250,12 +250,11 @@ object Popup {
250
250
inverted.foreach(v => p.inverted = v)
251
251
offset.foreach(v => p.offset = v)
252
252
on.map[String | js.Array [String ]] { x =>
253
- (x : Any ) match {
254
- case p : PopupOn => p.toJs
255
- case p => p.asInstanceOf [List [PopupOn ]].map(_.toJs).toJSArray
256
- }
253
+ (x : Any ) match {
254
+ case p : PopupOn => p.toJs
255
+ case p => p.asInstanceOf [List [PopupOn ]].map(_.toJs).toJSArray
257
256
}
258
- .foreach(v => p.on = v)
257
+ } .foreach(v => p.on = v)
259
258
(onCloseE, onClose).toJs.foreach(v => p.onClose = v)
260
259
(onOpenE, onOpen).toJs.foreach(v => p.onOpen = v)
261
260
pinned.foreach(v => p.pinned = v)
Original file line number Diff line number Diff line change @@ -287,13 +287,12 @@ package object semanticui {
287
287
288
288
def toJsObject [A <: js.Object ]: A =
289
289
c.map { d =>
290
- (d : Any ) match {
291
- case o : As =>
292
- o.props.asInstanceOf [A ]
293
- case _ : String => (new js.Object ).asInstanceOf [A ]
294
- }
290
+ (d : Any ) match {
291
+ case o : As =>
292
+ o.props.asInstanceOf [A ]
293
+ case _ : String => (new js.Object ).asInstanceOf [A ]
295
294
}
296
- .getOrElse((new js.Object ).asInstanceOf [A ])
295
+ } .getOrElse((new js.Object ).asInstanceOf [A ])
297
296
}
298
297
299
298
private [semanticui] object raw {
You can’t perform that action at this time.
0 commit comments