Loading lib/jsduck/enum.rb +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ module JsDuck :private => owner[:private], :files => cls[:files], :owner => cls[:name], :doc => "", :doc => "Alias for {@link #{owner[:name]}}.", } end end Loading spec/aggregator_enum_spec.rb +3 −0 Original line number Diff line number Diff line Loading @@ -204,6 +204,9 @@ describe JsDuck::Aggregator do props.find_all {|p| p[:private] }.map {|p| p[:name] }.should == ["textarea"] end it "lists class name in enum property docs" do props.find_all {|p| p[:name] == 'form' }[0][:doc].should == "Alias for {@link Form}." end end end Loading
lib/jsduck/enum.rb +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ module JsDuck :private => owner[:private], :files => cls[:files], :owner => cls[:name], :doc => "", :doc => "Alias for {@link #{owner[:name]}}.", } end end Loading
spec/aggregator_enum_spec.rb +3 −0 Original line number Diff line number Diff line Loading @@ -204,6 +204,9 @@ describe JsDuck::Aggregator do props.find_all {|p| p[:private] }.map {|p| p[:name] }.should == ["textarea"] end it "lists class name in enum property docs" do props.find_all {|p| p[:name] == 'form' }[0][:doc].should == "Alias for {@link Form}." end end end