Loading lib/jsduck/options.rb +7 −1 Original line number Diff line number Diff line Loading @@ -66,11 +66,12 @@ module JsDuck @warnings = true @verbose = false @version = "3.0.pre" # Customizing output @title = "Sencha Docs - Ext JS" @header = "<strong>Sencha Docs</strong> Ext JS" @footer = 'Generated with <a href="https://github.com/senchalabs/jsduck">JSDuck</a>.' @footer = 'Generated with <a href="https://github.com/senchalabs/jsduck">JSDuck</a> #{@version}.' @head_html = "" @body_html = "" @welcome = nil Loading Loading @@ -262,6 +263,11 @@ module JsDuck puts opts exit end opts.on('--version', "Prints JSDuck version", " ") do puts "JSDuck " + @version exit end end end Loading Loading
lib/jsduck/options.rb +7 −1 Original line number Diff line number Diff line Loading @@ -66,11 +66,12 @@ module JsDuck @warnings = true @verbose = false @version = "3.0.pre" # Customizing output @title = "Sencha Docs - Ext JS" @header = "<strong>Sencha Docs</strong> Ext JS" @footer = 'Generated with <a href="https://github.com/senchalabs/jsduck">JSDuck</a>.' @footer = 'Generated with <a href="https://github.com/senchalabs/jsduck">JSDuck</a> #{@version}.' @head_html = "" @body_html = "" @welcome = nil Loading Loading @@ -262,6 +263,11 @@ module JsDuck puts opts exit end opts.on('--version', "Prints JSDuck version", " ") do puts "JSDuck " + @version exit end end end Loading