Skip to content

Commit

Permalink
update deps and rename SriPlatForm to SriPlatform
Browse files Browse the repository at this point in the history
  • Loading branch information
chandu0101 committed Apr 22, 2017
1 parent 0ed6858 commit da6f991
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: scala

scala:
- 2.12.1
- 2.11.8
- 2.12.2
- 2.11.11

jdk:
- oraclejdk8
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name := "platform-config-ios"

enablePlugins(ScalaJSPlugin)

val scala211 = "2.11.8"
val scala211 = "2.11.11"

val scala212 = "2.12.1"
val scala212 = "2.12.2"

scalaVersion := scala211

Expand All @@ -19,7 +19,7 @@ scalacOptions ++= Seq(
"-language:implicitConversions"
)

libraryDependencies += "scalajs-react-interface" %%% "universal" % "2017.3.23-beta" % Provided
libraryDependencies += "scalajs-react-interface" %%% "universal" % "2017.4.23-beta" % Provided

//bintray
resolvers += Resolver.jcenterRepo
Expand Down
14 changes: 6 additions & 8 deletions src/main/scala/sri/platform/package.scala
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package sri


import sri.universal.SriPlatForm
import sri.universal.SriPlatform

package object platform {

implicit object SriPlatForm extends SriPlatForm {

@inline def isIOS: Boolean = true
@inline def isAndroid: Boolean = false
@inline def isWeb: Boolean = false
}
implicit object SriPlatform extends SriPlatform {

@inline def isIOS: Boolean = true
@inline def isAndroid: Boolean = false
@inline def isWeb: Boolean = false
}

}

0 comments on commit da6f991

Please sign in to comment.