Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Apr 10, 2024
1 parent 6d1741d commit 9e10af3
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package generic

import cats.Eval
import cats.Later
import cats.data.*
import cats.data._
import doodle.core.BoundingBox
import doodle.core.{Transform => Tx}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package doodle
package algebra

import cats.*
import cats.data.*
import cats.syntax.all.*
import cats._
import cats.data._
import cats.syntax.all._
import doodle.core.{Transform => Tx}

package object generic {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package algebra
package generic

import cats.instances.unit._
import doodle.algebra.generic.*
import doodle.algebra.generic._
import doodle.algebra.generic.reified.Reification
import doodle.algebra.generic.reified.Reified
import doodle.core.{Transform => Tx}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/src/test/scala/doodle/core/ColorSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package doodle
package core

import doodle.syntax.all.*
import doodle.syntax.all._
import munit.FunSuite

class ColorSuite extends FunSuite {
Expand Down
Binary file modified docs/src/pages/algebra/basic-with-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
package doodle
package svg

import cats.effect.unsafe.implicits.global
import doodle.core._
import doodle.svg._
import doodle.syntax.all._

import scala.scalajs.js.annotation._
import cats.effect.unsafe.implicits.global

@JSExportTopLevel("ConcentricCircles")
object ConcentricCircles {
Expand Down
3 changes: 2 additions & 1 deletion examples/js/src/main/scala/doodle/examples/DoodleLogo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
package doodle
package svg

import cats.effect.unsafe.implicits.global
import doodle.core._
import doodle.core.font._
import doodle.svg._
import doodle.syntax.all._

import scala.scalajs.js.annotation._
import cats.effect.unsafe.implicits.global

@JSExportTopLevel("DoodleLogo")
object DoodleLogo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
* limitations under the License.
*/

import cats.effect.unsafe.implicits.global
import doodle.core._
import doodle.svg._
import doodle.syntax.all._

import scala.scalajs.js.annotation._
import cats.effect.unsafe.implicits.global

@JSExportTopLevel("ParametricSpiral")
object ParametricSpiral {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
package doodle
package svg

import cats.effect.unsafe.implicits.global
import doodle.core._
import doodle.interact.syntax.all._
import doodle.svg._
import doodle.syntax.all._
import doodle.interact.syntax.all._

import scala.scalajs.js.annotation._
import cats.effect.unsafe.implicits.global

@JSExportTopLevel("PulsingCircle")
object PulsingCircle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
package doodle
package svg

import cats.effect.unsafe.implicits.global
import doodle.core._
import doodle.core.font._
import doodle.svg._
import doodle.syntax.all._

import scala.scalajs.js.annotation._
import cats.effect.unsafe.implicits.global

@JSExportTopLevel("TextPositioning")
object TextPositioning {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package effect
import cats.effect.IO
import cats.effect.unsafe.IORuntime
import doodle.algebra.generic.Finalized
import doodle.algebra.generic.*
import doodle.algebra.generic._
import doodle.core.BoundingBox
import doodle.core.Normalized
import doodle.core.Transform
Expand Down
2 changes: 1 addition & 1 deletion java2d/src/main/scala/doodle/java2d/effect/Java2d.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package java2d
package effect

import cats.effect.IO
import doodle.algebra.generic.*
import doodle.algebra.generic._
import doodle.core.BoundingBox
import doodle.core.Color
import doodle.core.Transform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package java2d
package effect

import cats.effect.IO
import doodle.effect.*
import doodle.effect._
import doodle.java2d.effect.{Java2d => Java2dEffect}

import java.awt.image.BufferedImage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import de.erichseifert.vectorgraphics2d.util.PageSize
import doodle.core.BoundingBox
import doodle.core.format._
import doodle.core.{Base64 => B64}
import doodle.effect.*
import doodle.effect._
import doodle.java2d.effect.{Java2d => Java2dEffect}

import java.awt.image.BufferedImage
Expand Down
4 changes: 2 additions & 2 deletions java2d/src/test/scala/doodle/java2d/Base64WriterSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package java2d

import cats.effect.unsafe.implicits.global
import doodle.core.Base64
import doodle.core.format.*
import doodle.syntax.all.*
import doodle.core.format._
import doodle.syntax.all._
import munit.FunSuite

class Base64WriterSuite extends FunSuite {
Expand Down
6 changes: 3 additions & 3 deletions java2d/src/test/scala/doodle/java2d/ToPictureSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ package java2d

import cats.effect.unsafe.implicits.global
import doodle.algebra.ToPicture
import doodle.core.format.*
import doodle.core.format._
import doodle.core.{Base64 => B64}
import doodle.effect.*
import doodle.syntax.all.*
import doodle.effect._
import doodle.syntax.all._
import munit.FunSuite

class ToPictureSuite extends FunSuite {
Expand Down

0 comments on commit 9e10af3

Please sign in to comment.