I hereby claim:
- I am japgolly on github.
- I am japgolly (https://keybase.io/japgolly) on keybase.
- I have a public key ASA2mh3TjdvZuvSBDifylawPHaTJDuBE4NQhXtZR8vhF4Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import japgolly.scalajs.react._ | |
import scalajs.js.{undefined, Dictionary, Dynamic, Object, UndefOr} | |
import shipreq.base.util.Memo | |
import ReactCollapse._ | |
/** | |
* Component-wrapper for collapse animation with react-motion for elements with variable (and dynamic) height. | |
* | |
* https://github.com/nkbt/react-collapse | |
*/ |
import scala.util.Try | |
import scalajs.js.Dynamic.global | |
object JsEnvUtils { | |
/** Sample (real) values are: | |
* - Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1 | |
* - Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 | |
* - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 | |
*/ |
import sbt._ | |
import sbt.Keys._ | |
import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._ | |
import org.scalajs.sbtplugin.cross.CrossProject | |
import org.scalajs.sbtplugin.ScalaJSPluginInternal._ | |
import org.scalajs.jsenv.selenium._ | |
object InBrowserTesting { | |
lazy val testAll = TaskKey[Unit]("test-all", "Run tests in all test platforms.") |
{-# LANGUAGE TypeOperators #-} | |
module Main where | |
import Data.Bifunctor (first) | |
type (~>?) s a = (Either a s) -> (Either s a) | |
data Inter s a = Inter { getE :: s ~>? a | |
, reverseGetE :: a ~>? s } | |
composeS :: (a ~>? b) -> (b ~>? c) -> (a ~>? c) |
package shipreq.webapp.client.feature | |
import japgolly.scalajs.react._ | |
import japgolly.scalajs.react.extra._ | |
import org.scalajs.dom.html | |
import scala.scalajs.js | |
import shipreq.base.util.ScalaExt.EndoFn | |
import shipreq.base.util.Vector1 | |
import shipreq.webapp.client.jsfacade.TextComplete | |
import shipreq.webapp.client.lib.TextEditor |
package japgolly.scalajs.react | |
import scala.concurrent.duration.Duration | |
import scala.concurrent.{ExecutionContext, Await, Future} | |
object Blah { | |
private val DefaultMaxWait = Duration.Inf | |
implicit class FutureExt[A](val f: Future[A]) { |
import sbt._ | |
import scala.languageFeature._ | |
import org.scalajs.sbtplugin.ScalaJSPlugin | |
import ScalaJSPlugin.autoImport._ | |
object DependencyLib { | |
sealed trait HasDialect | |
sealed trait HasJvm extends HasDialect | |
sealed trait HasJs extends HasDialect |
import japgolly.scalajs.react._, vdom.prefix_<^._, ScalazReact._ | |
import japgolly.scalacss.Defaults._ | |
import japgolly.scalacss.ScalaCssReact._ | |
import shapeless.syntax.singleton._ | |
object CssPager { | |
type CLICKEVENT = Int => Unit | |
object Style extends StyleSheet.Inline { |
package shipreq.webapp.client.lib | |
import org.scalajs.dom.console | |
import scala.annotation.elidable | |
import scala.scalajs.js | |
import scalaz.effect.IO | |
import js.{UndefOr, undefined} | |
trait ConsoleIO { | |
def info (msg: js.Any, extra: js.Any*) : IO[Unit] |