From aee5ac5b450843eeac2ceab13f2ef309bfe8887e Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Thu, 30 Jun 2011 11:38:07 +0300 Subject: [PATCH] Default to using ext-all.js. Specify ext-debug.js only for development. --- Rakefile | 2 +- bin/jsduck | 2 +- lib/jsduck/app.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index e1f54446..9a5cbccd 100644 --- a/Rakefile +++ b/Rakefile @@ -58,6 +58,7 @@ desc "Run JSDuck on ExtJS SDK" task :sdk do load_sdk_vars run_jsduck([ + "--extjs-path", "extjs/ext-debug.js", # to create symbolic links to template files instead of copying them over. # Useful for development. Turn off for deployment. "--template-links", @@ -74,7 +75,6 @@ def run_jsduck_export(extra_options, ext_dir) run_jsduck([ "--title", "Ext JS 4.0.2a API Documentation", "--footer", "ExtJS 4.0.2a Documentation from Sencha. Generated with JSDuck revison #{rev}", - "--extjs-path", "extjs/ext-all.js", "#{SDK_DIR}/extjs/src", "#{SDK_DIR}/platform/src", "#{SDK_DIR}/platform/core/src", diff --git a/bin/jsduck b/bin/jsduck index d091c385..fdbb5b6e 100755 --- a/bin/jsduck +++ b/bin/jsduck @@ -40,7 +40,7 @@ opts = OptionParser.new do | opts | opts.on('--extjs-path=PATH', "Path for main ExtJS JavaScript file. Useful for specifying", - "something different than extjs/ext-all-debug.js", " ") do |path| + "something different than extjs/ext-all.js", " ") do |path| app.extjs_path = path end diff --git a/lib/jsduck/app.rb b/lib/jsduck/app.rb index 71744dca..d70e4854 100644 --- a/lib/jsduck/app.rb +++ b/lib/jsduck/app.rb @@ -59,7 +59,7 @@ module JsDuck @show_private_classes = false @title = "Ext JS API Documentation" @footer = 'Generated with JSDuck.' - @extjs_path = "extjs/ext-debug.js" + @extjs_path = "extjs/ext-all.js" @append_html = "" @timer = Timer.new @parallel = ParallelWrap.new -- GitLab