Commit 90a3f83f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Removed href property from class tree.

Not needed, because we don't want to follow links directly,
but instead load JSON and generate the page.
parent b663c711
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ module JsDuck
    # Given full doc object for class creates class node
    def class_node(cls)
      return {
        :href => "output/#{cls.full_name}.html",
        :text => cls.short_name,
        :id => cls.full_name,
        :isClass => true,
+0 −4
Original line number Diff line number Diff line
@@ -64,10 +64,6 @@ describe JsDuck::Tree do
      @class[:text].should == @short_class_name
    end

    it "with href pointing to output/ClassName.html" do
      @class[:href].should == "output/" + @full_class_name + ".html"
    end

    it "with leaf = true" do
      @class[:leaf].should == true
    end