Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Update to Scala.js 0.5.5 / Scala 2.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticfall committed Oct 4, 2014
1 parent c35587b commit 87ddd0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ organization := "com.greencatsoft"

version := "0.2-SNAPSHOT"

scalaVersion := "2.11.1"
scalaVersion := "2.11.2"

scalacOptions ++= Seq("-feature","-deprecation")

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.4")
addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.5")

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.greencatsoft.angularjs.i18next

import scala.scalajs.js
import scala.scalajs.js.JSConverters.array2JSRichGenTrav

trait NamespaceConfig extends js.Object {

Expand All @@ -22,7 +23,7 @@ object NamespaceConfig {

val config = new js.Object().asInstanceOf[NamespaceConfig]

config.namespaces = namespaces
config.namespaces = namespaces.toJSArray
config.defaultNs = defaultNs.getOrElse(namespaces(0))

config
Expand Down

0 comments on commit 87ddd0c

Please sign in to comment.