Skip to content
This repository
Browse code

Update examples

  • Loading branch information...
commit cc5391c0b2ddeddb7d260b36df2abbb5c3e79e4e 1 parent 8bd75d1
Alex MacCaw authored December 22, 2009
6  examples/tweets_binder.rb
... ...
@@ -1,8 +1,6 @@
1 1
 class TweetsBinder < Bowline::Binders::Base
2 2
   bind Tweet
3  
-  class << self
4  
-    def update(status)
5  
-      klass.update(status)
6  
-    end
  3
+  def self.update(status)
  4
+    klass.update(status)
7 5
   end
8 6
 end
1  examples/twitter.html
@@ -6,6 +6,7 @@
6 6
   <link rel="stylesheet" href="stylesheets/application.css" type="text/css" charset="utf-8">
7 7
 	<script src="javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
8 8
 	<script src="javascripts/jquery.chain.js" type="text/javascript" charset="utf-8"></script>
  9
+	<script src="javascripts/json2.js" type="text/javascript" charset="utf-8"></script>
9 10
   <script src="javascripts/bowline.js" type="text/javascript" charset="utf-8"></script>
10 11
   <script src="javascripts/application.js" type="text/javascript" charset="utf-8"></script>
11 12
   <script type="text/javascript" charset="utf-8">

0 notes on commit cc5391c

Please sign in to comment.
Something went wrong with that request. Please try again.