Loading Rakefile +2 −2 Original line number Diff line number Diff line Loading @@ -221,10 +221,10 @@ task :ext4 => :sass do end desc "Run JSDuck with example test hacks" task :doctests => :sass do |t, args| task :tests => :sass do |t, args| runner = JsDuckRunner.new runner.add_ext4 runner.add_options("--doctests") runner.add_options("--tests") runner.add_debug runner.run Loading lib/jsduck/app.rb +1 −1 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ module JsDuck end format_classes if @opts.doctests if @opts.tests examples = InlineExamples.new examples.add_classes(@relations) examples.add_guides(@assets.guides) Loading lib/jsduck/app_data.rb +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ module JsDuck :examples => @assets.examples.to_array, :search => SearchData.new.create(@relations.classes, @assets), :stats => @opts.stats ? Stats.new.create(@relations.classes) : [], :doctests => @opts.doctests, :tests => @opts.tests, :signatures => MetaTagRegistry.instance.signatures, :localStorageDb => @opts.local_storage_db, :showPrintButton => @opts.seo, Loading lib/jsduck/options.rb +4 −4 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ module JsDuck attr_accessor :seo attr_accessor :eg_iframe attr_accessor :examples_base_url attr_accessor :doctests attr_accessor :tests # Debugging attr_accessor :processes Loading Loading @@ -100,7 +100,7 @@ module JsDuck @seo = false @eg_iframe = nil @examples_base_url = "extjs-build/examples/" @doctests = false @tests = false # Debugging # Turn multiprocessing off by default in Windows Loading Loading @@ -294,8 +294,8 @@ module JsDuck @examples_base_url = path end opts.on('--doctests', "Creates infrastructure for running tests. Experimental!", " ") do @doctests = true opts.on('--tests', "Creates infrastructure for running tests. Experimental!", " ") do @tests = true end opts.separator "Debugging:" Loading template/app/Application.js +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Ext.define('Docs.Application', { 'Videos', 'Stats', 'Tabs', 'DocTests' 'Tests' ], launch: function() { Loading Loading
Rakefile +2 −2 Original line number Diff line number Diff line Loading @@ -221,10 +221,10 @@ task :ext4 => :sass do end desc "Run JSDuck with example test hacks" task :doctests => :sass do |t, args| task :tests => :sass do |t, args| runner = JsDuckRunner.new runner.add_ext4 runner.add_options("--doctests") runner.add_options("--tests") runner.add_debug runner.run Loading
lib/jsduck/app.rb +1 −1 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ module JsDuck end format_classes if @opts.doctests if @opts.tests examples = InlineExamples.new examples.add_classes(@relations) examples.add_guides(@assets.guides) Loading
lib/jsduck/app_data.rb +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ module JsDuck :examples => @assets.examples.to_array, :search => SearchData.new.create(@relations.classes, @assets), :stats => @opts.stats ? Stats.new.create(@relations.classes) : [], :doctests => @opts.doctests, :tests => @opts.tests, :signatures => MetaTagRegistry.instance.signatures, :localStorageDb => @opts.local_storage_db, :showPrintButton => @opts.seo, Loading
lib/jsduck/options.rb +4 −4 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ module JsDuck attr_accessor :seo attr_accessor :eg_iframe attr_accessor :examples_base_url attr_accessor :doctests attr_accessor :tests # Debugging attr_accessor :processes Loading Loading @@ -100,7 +100,7 @@ module JsDuck @seo = false @eg_iframe = nil @examples_base_url = "extjs-build/examples/" @doctests = false @tests = false # Debugging # Turn multiprocessing off by default in Windows Loading Loading @@ -294,8 +294,8 @@ module JsDuck @examples_base_url = path end opts.on('--doctests', "Creates infrastructure for running tests. Experimental!", " ") do @doctests = true opts.on('--tests', "Creates infrastructure for running tests. Experimental!", " ") do @tests = true end opts.separator "Debugging:" Loading
template/app/Application.js +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ Ext.define('Docs.Application', { 'Videos', 'Stats', 'Tabs', 'DocTests' 'Tests' ], launch: function() { Loading