minor fixes

This commit is contained in:
Torsten Ruger
2015-07-30 15:05:57 +03:00
parent 9afaeba302
commit eba80177ae
5 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ class BlocksModel < Volt::ArrayModel
def instruction_changed old , ins
self.last._class_name = "inactive" if( self.length > 0)
self << { :name => ins.to_s , :class_name => "bright" }
puts "block #{self.length}"
#puts "block #{self.length}"
self.delete_at(0) if( self.length > 5)
end