Skip to content

Commit

Permalink
dont remember what i changed
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyko committed Jan 18, 2015
1 parent 0d0ca86 commit 0e7fb2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 54 deletions.
52 changes: 3 additions & 49 deletions test/rainflow/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,53 +11,7 @@
</g>
</svg>
</div>
<!-- run the game: -->
<script type="text/javascript" src="rainflow.js"></script><!-- use a single .js file for deployment, run "cake build" to recompile -->
<!-- run the visualization: -->
<script type="text/javascript" src="rainflow.js"></script> <!-- use a single .js file for deployment, run "cake compile" to recompile -->
</body>
</html>


<!--
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
<script type="text/javascript" src="http://underscorejs.org/underscore-min.js"></script><!-- http://coffeescript.org/extras/-->
<!--
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script><!-- http://d3js.org/-->
<!-- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<style type="text/css">
body {
width: 100%;
margin: 0;
padding: 0;
padding-left: 10px;
overflow: hidden;
}
svg {
display: block;
margin:auto;
}
</style>
</head>
<body>
<div id="map" oncontextmenu="return false">
<svg id="game_svg" width="360px" height="180px">
</svg>
</div>
<!-- run the game: -->
<!--<script type="text/javascript" src="rainflow.js"></script><!-- use a single .js file for deployment, run "cake build" to recompile -->
<!--<script type="text/javascript">
$(document).ready( function() {
new Rainflow().start() ; // create and start the visualization
}) ;
</script>
</body>
</html>
-->
</html>
4 changes: 2 additions & 2 deletions test/rainflow/lib/rainflow.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions test/rainflow/src/rainflow.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class $z.Rainflow extends $z.Game

prompt = @g.append("text")
.text("")
.attr("stroke", "black")
.attr("fill", "deepskyblue")
.attr("stroke", "none")
.attr("fill", "#1d1687")
.attr("font-size", "36")
.attr("x", @map_width / 2 - 100 )
.attr("y", @map_height / 4)
Expand All @@ -44,7 +44,7 @@ class $z.Rainflow extends $z.Game
dur = 1500
prompt.transition()
.duration(dur)
.attr('opacity', 1)
.attr('opacity', .7)
.transition()
.duration(dur)
.delay(dur)
Expand Down

0 comments on commit 0e7fb2f

Please sign in to comment.