Permalink
Browse files

update to RightJS 2.1.1

  • Loading branch information...
1 parent ef7c410 commit 6c9b02daf8759e8880a0046c947d43ea6f7fda96 Petr Chalupa committed Nov 10, 2010
Showing with 11 additions and 8 deletions.
  1. +4 −1 app/base.rb
  2. +7 −7 public/css/examples.css
View
@@ -5,7 +5,10 @@ class Base < Hammer::Component::Base
attr_reader :example, :other
changing { attr_writer :example }
- after_initialize { @other = Examples::Counters::Base.new }
+ after_initialize do
+ @other = Examples::Counters::Base.new
+ self.example = Examples::Ask::Base.new
+ end
Data = Struct.new("Data", :name, :sex, :password, :hidden, :description)
@@ -1,7 +1,11 @@
-.examples-base-widget li {
+.hammer-component-developer-tools-widget li {
list-style: square;
}
+.hammer-component-developer-entry-widget {
+ display: block;
+}
+
.examples-dragg-draggable-widget {
border: 1px solid silver;
width: 200px;
@@ -38,15 +42,11 @@
height: 66px;
}
-.examples-counter-widget a, .examples-counters-counter-widget a, .examples-ask-counter-widget a {
+.examples-counter-widget a, .examples-ask-counter-widget a, .examples-counters-counter-widget a {
padding: 0 0.2em;
}
-.hammer-component-developer-tools-widget li {
+.examples-base-widget li {
list-style: square;
}
-.hammer-component-developer-entry-widget {
- display: block;
-}
-

0 comments on commit 6c9b02d

Please sign in to comment.