ducksboard
ducksboard copied to clipboard
Added Delta to Counter Widget
Added delta to the counter widget to support the new ducksboard changes
awesome! I'll try and take a look at this later tonight.
@aaldrich I'm thinking about simplifying the push api to a single class Ducksboard::Slot
and see some examples
What do you think?
What is your reasoning for it? I kinda like being able to extend new widgets via polymorphism. I guess my biggest concern would be that the push class might become very large and bloated. I could be wrong but that is my initial thoughts. What do you think?
On Mon, Mar 18, 2013 at 2:00 AM, Joseph Hsu [email protected]:
@aaldrich https://github.com/aaldrich I'm thinking about simplifying the push api to a single class Ducksboard::Slothttps://github.com/jhsu/ducksboard/blob/simple-slot-push/lib/ducksboard/slot.rband see some exampleshttps://github.com/jhsu/ducksboard/tree/simple-slot-push#sending-data
What do you think?
— Reply to this email directly or view it on GitHubhttps://github.com/jhsu/ducksboard/pull/7#issuecomment-15041587 .
I've started trying the Slot example just to see how I like it and having some issues. It seems like the post method inside the push api isn't being recognized on the class:
push.rb:45:in post': undefined method
post' for Ducksboard::Slot:Class (NoMethodError)