Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a patch to the ostrich sample in chapter 15

  • Loading branch information...
commit c0db8ce7d52374071614e78b232911460ae8d0b2 1 parent f665e41
@timperrett authored
View
4 chapter-15/src/main/scala/bootstrap/liftweb/Boot.scala
@@ -94,8 +94,8 @@ class Boot extends LazyLoggable {
object OstrichWebAdmin extends AdminServiceConfig {
httpPort = 9990
statsNodes = new StatsConfig {
- reporters = new TimeSeriesCollectorConfig
- }
+ reporters = new TimeSeriesCollectorConfig :: Nil
+ } :: Nil
lazy val service =
super.apply()(new RuntimeEnvironment(this))
}
View
2  chapter-9/src/main/webapp/rock_paper_scissors.html
@@ -1,6 +1,6 @@
<div class="lift:surround?with=default;at=content">
<h2>Rock, Paper, Scissors</h2>
- <div class="l:comet?type=RockPaperScissors">
+ <div lift="comet?type=RockPaperScissors">
<div id="game">
<p id="information">Pending information...</p>
<ul id="button">
View
2  chapter-9/src/main/webapp/templates-hidden/default.html
@@ -20,7 +20,7 @@ <h1 class="alt">Chapter 9: AJAX, Wiring and Comet</h1>
<div class="column span-6 colborder sidebar">
<lift:menu.builder />
- <div class="l:comet?type=Clock" style="text-align: left">
+ <div lift="comet?type=Clock" style="text-align: left">
Current Time:<br /><span id="clock_time">Missing Clock</span>
</div>
<div class="clear" id="loading" style="display: none;">
Please sign in to comment.
Something went wrong with that request. Please try again.