Commit aee5ac5b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Default to using ext-all.js.

Specify ext-debug.js only for development.
parent 126d9fe3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 <a href='https://github.com/nene/jsduck'>JSDuck</a> revison #{rev}",
    "--extjs-path", "extjs/ext-all.js",
    "#{SDK_DIR}/extjs/src",
    "#{SDK_DIR}/platform/src",
    "#{SDK_DIR}/platform/core/src",
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ module JsDuck
      @show_private_classes = false
      @title = "Ext JS API Documentation"
      @footer = 'Generated with <a href="https://github.com/nene/jsduck">JSDuck</a>.'
      @extjs_path = "extjs/ext-debug.js"
      @extjs_path = "extjs/ext-all.js"
      @append_html = ""
      @timer = Timer.new
      @parallel = ParallelWrap.new