This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val argumentList = List("arg1"->"val1", "arg2"->"val2", "arg3"->"val3") | |
// repl> argumentList: List[(String, String)] = List((arg1,val1), (arg2,val2), (arg3,val3)) | |
// from play 2.1 scala api | |
// def withQueryString(parameters: (String, String)*): WSRequestHolder | |
// can't pass List[(String, String)] to function because it expects type (String, String) | |
// unwrap collection (List) with : _* | |
play.api.libs.ws.WS.url("http://localhost").withQueryString(argumentList : _*).get |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box-sizing: border-box; | |
// adviced to be used globally nowadays - bootstrap3 uses it by default, for instance | |
// on IE8 or older max-/min-height/width won't work - e.g. can't have responsive image resizing on IE8 |