-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
starzu
committed
Feb 15, 2018
1 parent
34e9739
commit 632a463
Showing
32 changed files
with
2,496 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
root = false | ||
|
||
[*.scala] | ||
indent_style = space | ||
indent_size = 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea/ | ||
target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name := "todomvc" | ||
|
||
inThisBuild(Seq( | ||
version := "0.6.0", | ||
scalaVersion := "2.12.4", | ||
organization := "io.udash", | ||
scalacOptions ++= Seq( | ||
"-feature", | ||
"-deprecation", | ||
"-unchecked", | ||
"-language:implicitConversions", | ||
"-language:existentials", | ||
"-language:dynamics", | ||
"-Xfuture", | ||
"-Xfatal-warnings", | ||
"-Xlint:_,-missing-interpolator,-adapted-args" | ||
), | ||
)) | ||
|
||
val generatedDir = file("generated") | ||
|
||
val todomvc = project.in(file(".")) | ||
.enablePlugins(ScalaJSPlugin) | ||
.settings( | ||
mainClass := Some("io.udash.todo.JSLauncher"), | ||
scalaJSUseMainModuleInitializer := true, | ||
|
||
libraryDependencies ++= Dependencies.frontendDeps.value, | ||
|
||
// Target files for Scala.js plugin | ||
Compile / fastOptJS / artifactPath := generatedDir / "todomvc.js", | ||
Compile / fullOptJS / artifactPath := generatedDir / "todomvc.js", | ||
Compile / packageJSDependencies / artifactPath := generatedDir / "todomvc-deps.js", | ||
Compile / packageMinifiedJSDependencies / artifactPath := generatedDir / "todomvc-deps.js", | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!doctype html> | ||
<html lang="en" data-framework="udash"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Udash Framework • TodoMVC</title> | ||
<link rel="stylesheet" href="node_modules/todomvc-common/base.css"> | ||
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css"> | ||
</head> | ||
<body> | ||
<section class="todoapp"></section> | ||
<footer class="info"> | ||
<p>Double-click to edit a todo</p> | ||
<p>Created by <a href="http://github.com/Starzu/">Mateusz Starzec</a></p> | ||
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> | ||
</footer> | ||
<script src="node_modules/todomvc-common/base.js"></script> | ||
<script src="generated/todomvc-deps.js"></script> | ||
<!-- include application --> | ||
<script src="generated/todomvc.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.