Loading lib/jsduck/tag/singleton.rb +7 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,13 @@ module JsDuck::Tag :large => File.dirname(__FILE__) + "/icons/singleton-large.png", :redirect => File.dirname(__FILE__) + "/icons/singleton-redirect.png", } @signature = {:long => "singleton", :short => "single"} @css = <<-EOCSS .signature .singleton { background-color: transparent; color: #929292; } EOCSS super end Loading template/app/view/cls/Header.js +0 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,6 @@ Ext.define('Docs.view.cls.Header', { '<tpl else>', '<strong class="class-source-link">{name}</strong>', '</tpl>', '<tpl if="singleton">', '<span class="singleton">singleton</span>', '</tpl>', '<tpl if="values[\'enum\']">', '<span class="enum">enum of <b>{[values["enum"].type]}</b></span>', '</tpl>', Loading template/resources/sass/_class_header.scss +2 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ // The auto-generated CSS for class icons also applies here. // gray style for xtypes, enum and singleton summary .xtype, .enum, .singleton { // gray style for xtypes and enum summary .xtype, .enum { color: #929292; letter-spacing: 0; margin-left: 10px; Loading Loading
lib/jsduck/tag/singleton.rb +7 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,13 @@ module JsDuck::Tag :large => File.dirname(__FILE__) + "/icons/singleton-large.png", :redirect => File.dirname(__FILE__) + "/icons/singleton-redirect.png", } @signature = {:long => "singleton", :short => "single"} @css = <<-EOCSS .signature .singleton { background-color: transparent; color: #929292; } EOCSS super end Loading
template/app/view/cls/Header.js +0 −3 Original line number Diff line number Diff line Loading @@ -23,9 +23,6 @@ Ext.define('Docs.view.cls.Header', { '<tpl else>', '<strong class="class-source-link">{name}</strong>', '</tpl>', '<tpl if="singleton">', '<span class="singleton">singleton</span>', '</tpl>', '<tpl if="values[\'enum\']">', '<span class="enum">enum of <b>{[values["enum"].type]}</b></span>', '</tpl>', Loading
template/resources/sass/_class_header.scss +2 −2 Original line number Diff line number Diff line Loading @@ -22,8 +22,8 @@ // The auto-generated CSS for class icons also applies here. // gray style for xtypes, enum and singleton summary .xtype, .enum, .singleton { // gray style for xtypes and enum summary .xtype, .enum { color: #929292; letter-spacing: 0; margin-left: 10px; Loading