Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxblade committed Jul 2, 2015
1 parent a58bf7a commit 8c3b182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/shenmegui/controls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def sync_events
end

def initialize(params={})
@properties = self.class.default_properties || {}
@properties = self.class.default_properties ? self.class.default_properties.dup : {}
update_properties(params)
@id = ShenmeGUI.elements.size
ShenmeGUI.elements << self
Expand Down
4 changes: 2 additions & 2 deletions shenmegui.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'shenmegui'
s.version = '0.3.5'
s.date = '2015-04-23'
s.version = '0.3.6'
s.date = '2015-07-02'
s.summary = "什么鬼!"
s.description = "a simple HTML GUI for Ruby"
s.authors = ["CicholGricenchos"]
Expand Down

0 comments on commit 8c3b182

Please sign in to comment.