jsduck 5.0.0.beta2 → 5.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +14 -4
- data/bin/jsduck +3 -1
- data/jsduck.gemspec +2 -2
- data/lib/jsduck/app.rb +8 -0
- data/lib/jsduck/assets.rb +3 -0
- data/lib/jsduck/batch_processor.rb +2 -0
- data/lib/jsduck/categories/class_name.rb +2 -26
- data/lib/jsduck/categories/factory.rb +5 -43
- data/lib/jsduck/columns.rb +56 -0
- data/lib/jsduck/doc/delimited_parser.rb +105 -0
- data/lib/jsduck/doc/scanner.rb +2 -1
- data/lib/jsduck/doc/standard_tag_parser.rb +37 -71
- data/lib/jsduck/guide_anchors.rb +32 -0
- data/lib/jsduck/guide_toc.rb +49 -0
- data/lib/jsduck/guides.rb +14 -32
- data/lib/jsduck/inline/video.rb +2 -8
- data/lib/jsduck/js/ast.rb +13 -305
- data/lib/jsduck/js/class.rb +245 -0
- data/lib/jsduck/js/event.rb +34 -0
- data/lib/jsduck/js/fires.rb +42 -0
- data/lib/jsduck/js/method.rb +94 -0
- data/lib/jsduck/js/method_calls.rb +40 -0
- data/lib/jsduck/js/node.rb +29 -0
- data/lib/jsduck/js/property.rb +64 -0
- data/lib/jsduck/js/{function.rb → returns.rb} +8 -3
- data/lib/jsduck/js/scoped_traverser.rb +42 -0
- data/lib/jsduck/logger.rb +13 -1
- data/lib/jsduck/merger.rb +34 -27
- data/lib/jsduck/news.rb +128 -0
- data/lib/jsduck/options.rb +59 -2
- data/lib/jsduck/params_merger.rb +47 -0
- data/lib/jsduck/process/accessors.rb +8 -2
- data/lib/jsduck/process/fires.rb +71 -0
- data/lib/jsduck/process/importer.rb +19 -1
- data/lib/jsduck/render/class.rb +11 -4
- data/lib/jsduck/render/signature_util.rb +14 -0
- data/lib/jsduck/tag/alias.rb +0 -20
- data/lib/jsduck/tag/alternate_class_names.rb +0 -5
- data/lib/jsduck/tag/cfg.rb +30 -5
- data/lib/jsduck/tag/class.rb +45 -2
- data/lib/jsduck/tag/css_mixin.rb +8 -4
- data/lib/jsduck/tag/css_var.rb +26 -5
- data/lib/jsduck/tag/default.rb +2 -8
- data/lib/jsduck/tag/enum.rb +7 -10
- data/lib/jsduck/tag/event.rb +12 -4
- data/lib/jsduck/tag/extends.rb +0 -6
- data/lib/jsduck/tag/fires.rb +53 -0
- data/lib/jsduck/tag/icons/cfg.png +0 -0
- data/lib/jsduck/tag/icons/css_mixin.png +0 -0
- data/lib/jsduck/tag/icons/css_var.png +0 -0
- data/lib/jsduck/tag/icons/event.png +0 -0
- data/lib/jsduck/tag/icons/method.png +0 -0
- data/lib/jsduck/tag/icons/property.png +0 -0
- data/lib/jsduck/tag/member_tag.rb +130 -0
- data/lib/jsduck/tag/method.rb +44 -4
- data/lib/jsduck/tag/param.rb +8 -60
- data/lib/jsduck/tag/property.rb +28 -5
- data/lib/jsduck/tag/tag.rb +3 -75
- data/lib/jsduck/tag/type.rb +1 -11
- data/lib/jsduck/tag_registry.rb +6 -48
- data/lib/jsduck/web/css.rb +8 -1
- data/lib/jsduck/web/data.rb +2 -1
- data/lib/jsduck/web/index_html.rb +1 -0
- data/lib/jsduck/web/member_icons.rb +43 -0
- data/lib/jsduck/web/search.rb +3 -2
- data/lib/jsduck/web/writer.rb +8 -0
- metadata +31 -27
- data/lib/jsduck/docs_code_comparer.rb +0 -44
- data/lib/jsduck/render/signature.rb +0 -94
- data/lib/jsduck/tag/autodetected.rb +0 -21
- data/lib/jsduck/tag/name.rb +0 -36
data/lib/jsduck/tag/property.rb
CHANGED
@@ -1,17 +1,16 @@
|
|
1
|
-
require "jsduck/tag/
|
1
|
+
require "jsduck/tag/member_tag"
|
2
2
|
require "jsduck/doc/subproperties"
|
3
3
|
|
4
4
|
module JsDuck::Tag
|
5
|
-
class Property <
|
5
|
+
class Property < MemberTag
|
6
6
|
def initialize
|
7
7
|
@pattern = "property"
|
8
8
|
@tagname = :property
|
9
9
|
@repeatable = true
|
10
10
|
@member_type = {
|
11
|
-
:name => :property,
|
12
|
-
:category => :property_like,
|
13
11
|
:title => "Properties",
|
14
12
|
:position => MEMBER_POS_PROPERTY,
|
13
|
+
:icon => File.dirname(__FILE__) + "/icons/property.png",
|
15
14
|
:subsections => [
|
16
15
|
{:title => "Instance properties", :filter => {:static => false}, :default => true},
|
17
16
|
{:title => "Static properties", :filter => {:static => true}},
|
@@ -21,7 +20,13 @@ module JsDuck::Tag
|
|
21
20
|
|
22
21
|
# @property {Type} [name=default] ...
|
23
22
|
def parse_doc(p, pos)
|
24
|
-
tag = p.standard_tag({
|
23
|
+
tag = p.standard_tag({
|
24
|
+
:tagname => :property,
|
25
|
+
:type => true,
|
26
|
+
:name => true,
|
27
|
+
:default => true,
|
28
|
+
:optional => true
|
29
|
+
})
|
25
30
|
tag[:doc] = :multiline
|
26
31
|
tag
|
27
32
|
end
|
@@ -39,5 +44,23 @@ module JsDuck::Tag
|
|
39
44
|
h[:properties] = nested[:properties]
|
40
45
|
h[:name] = nested[:name]
|
41
46
|
end
|
47
|
+
|
48
|
+
def process_code(code)
|
49
|
+
h = super(code)
|
50
|
+
h[:type] = code[:type]
|
51
|
+
h[:default] = code[:default]
|
52
|
+
h
|
53
|
+
end
|
54
|
+
|
55
|
+
# Do the merging of :type field
|
56
|
+
def merge(h, docs, code)
|
57
|
+
if h[:type] == nil
|
58
|
+
h[:type] = code[:tagname] == :method ? "Function" : "Object"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def to_html(property, cls)
|
63
|
+
member_link(property) + " : " + property[:html_type]
|
64
|
+
end
|
42
65
|
end
|
43
66
|
end
|
data/lib/jsduck/tag/tag.rb
CHANGED
@@ -47,59 +47,6 @@ module JsDuck::Tag
|
|
47
47
|
def process_doc(hash, docs, position)
|
48
48
|
end
|
49
49
|
|
50
|
-
# Defines a class member type and specifies a name and several
|
51
|
-
# other settings. For example:
|
52
|
-
#
|
53
|
-
# {
|
54
|
-
# :name => :event,
|
55
|
-
# :category => :method_like,
|
56
|
-
# :title => "Events",
|
57
|
-
# :position => MEMBER_POS_EVENT,
|
58
|
-
# # The following are optional
|
59
|
-
# :toolbar_title => "Events",
|
60
|
-
# :subsections => [
|
61
|
-
# {:title => "Static events",
|
62
|
-
# :filter => {:static => false},
|
63
|
-
# :default => true},
|
64
|
-
# {:title => "Instance events",
|
65
|
-
# :filter => {:static => true}},
|
66
|
-
# ]
|
67
|
-
# }
|
68
|
-
#
|
69
|
-
# The category must be either :property_like or :method_like.
|
70
|
-
#
|
71
|
-
# Position defines the ordering of member section in final HTML
|
72
|
-
# output.
|
73
|
-
#
|
74
|
-
# Title is shown at the top of each such section and also as a
|
75
|
-
# label on Docs app toolbar button unless :toolbar_title is
|
76
|
-
# specified.
|
77
|
-
#
|
78
|
-
# Subsections allows splitting the list of members to several
|
79
|
-
# subgroups. For example methods get split into static and
|
80
|
-
# instance methods.
|
81
|
-
#
|
82
|
-
# - The :filter field defines how to filter out the members for
|
83
|
-
# this subcategory. :static=>true filters out all members that
|
84
|
-
# have a :static field with a truthy value. Conversely,
|
85
|
-
# :static=>false filters out members not having a :static field
|
86
|
-
# or having it with a falsy value.
|
87
|
-
#
|
88
|
-
# - Setting :default=>true will hide the subsection title when all
|
89
|
-
# the members end up in that subsection. For example when there
|
90
|
-
# are only instance methods, the docs will only contain the
|
91
|
-
# section title "Methods", as by default one should assume all
|
92
|
-
# methods are instance methods if not stated otherwise.
|
93
|
-
#
|
94
|
-
attr_reader :member_type
|
95
|
-
|
96
|
-
MEMBER_POS_CFG = 1
|
97
|
-
MEMBER_POS_PROPERTY = 2
|
98
|
-
MEMBER_POS_METHOD = 3
|
99
|
-
MEMBER_POS_EVENT = 4
|
100
|
-
MEMBER_POS_CSS_VAR = 5
|
101
|
-
MEMBER_POS_CSS_MIXIN = 6
|
102
|
-
|
103
50
|
# The text to display in member signature. Must be a hash
|
104
51
|
# defining the short and long versions of the signature text:
|
105
52
|
#
|
@@ -126,27 +73,6 @@ module JsDuck::Tag
|
|
126
73
|
def parse_ext_define(cls, ast)
|
127
74
|
end
|
128
75
|
|
129
|
-
# In the context of which members or classes invoke the #merge
|
130
|
-
# method. This can be either a single tagname like :class,
|
131
|
-
# :method, :cfg or an array of these.
|
132
|
-
#
|
133
|
-
# Additionally a few special symbols can be used to register a
|
134
|
-
# merger for a set of member types:
|
135
|
-
#
|
136
|
-
# - :member - all members.
|
137
|
-
# - :method_like - members like :method, :event, :css_mixin
|
138
|
-
# - :property_like - members like :cfg, :property, :css_var
|
139
|
-
#
|
140
|
-
# For example to register a merger for everyting:
|
141
|
-
#
|
142
|
-
# @merge_context = [:class, :member]
|
143
|
-
#
|
144
|
-
attr_reader :merge_context
|
145
|
-
|
146
|
-
# Merges documentation and code hashes into the result hash.
|
147
|
-
def merge(hash, docs, code)
|
148
|
-
end
|
149
|
-
|
150
76
|
# The position for outputting the HTML for the tag in final
|
151
77
|
# documentation.
|
152
78
|
#
|
@@ -182,7 +108,8 @@ module JsDuck::Tag
|
|
182
108
|
POS_SUBPROPERTIES = 12
|
183
109
|
POS_RETURN = 13
|
184
110
|
POS_THROWS = 14
|
185
|
-
|
111
|
+
POS_FIRES = 15
|
112
|
+
POS_OVERRIDES = 16
|
186
113
|
|
187
114
|
# Called before #to_html to allow rendering of Markdown content.
|
188
115
|
# For this an instance of DocFormatter is passed in, on which one
|
@@ -195,6 +122,7 @@ module JsDuck::Tag
|
|
195
122
|
#
|
196
123
|
# It gets passed the full class/member hash. It should return an
|
197
124
|
# HTML string to inject into document.
|
125
|
+
#
|
198
126
|
def to_html(context)
|
199
127
|
end
|
200
128
|
|
data/lib/jsduck/tag/type.rb
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
require "jsduck/tag/tag"
|
2
|
-
require "jsduck/docs_code_comparer"
|
3
2
|
|
4
3
|
module JsDuck::Tag
|
5
4
|
class Type < Tag
|
6
5
|
def initialize
|
7
6
|
@pattern = "type"
|
8
7
|
@tagname = :type
|
9
|
-
@merge_context = :property_like
|
10
8
|
|
11
9
|
# We don't really care about the position as we don't output any
|
12
10
|
# HTML. We just need to set this up to do the formatting.
|
@@ -19,7 +17,7 @@ module JsDuck::Tag
|
|
19
17
|
# ext-doc allows type name to be either inside curly braces or
|
20
18
|
# without them at all.
|
21
19
|
def parse_doc(p, pos)
|
22
|
-
tag = p.standard_tag({:tagname => :type, :type => true})
|
20
|
+
tag = p.standard_tag({:tagname => :type, :type => true, :optional => true})
|
23
21
|
tag[:type] = curlyless_type(p) unless tag[:type]
|
24
22
|
tag
|
25
23
|
end
|
@@ -32,14 +30,6 @@ module JsDuck::Tag
|
|
32
30
|
h[:type] = tags[0][:type] unless h[:type]
|
33
31
|
end
|
34
32
|
|
35
|
-
# Do the merging of :type field
|
36
|
-
def merge(h, docs, code)
|
37
|
-
JsDuck::DocsCodeComparer.merge_if_matches(h, :type, docs, code)
|
38
|
-
if h[:type] == nil
|
39
|
-
h[:type] = code[:tagname] == :method ? "Function" : "Object"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
33
|
def format(m, formatter)
|
44
34
|
m[:html_type] = formatter.format_type(m[:type])
|
45
35
|
end
|
data/lib/jsduck/tag_registry.rb
CHANGED
@@ -27,7 +27,6 @@ module JsDuck
|
|
27
27
|
@ext_define_patterns = {}
|
28
28
|
@ext_define_defaults = {}
|
29
29
|
@tagnames = {}
|
30
|
-
@mergers = {}
|
31
30
|
@signatures = []
|
32
31
|
@html_renderers = []
|
33
32
|
@html_renderers_sorted = false
|
@@ -58,12 +57,8 @@ module JsDuck
|
|
58
57
|
@tagnames[tag.tagname] = tag
|
59
58
|
end
|
60
59
|
|
61
|
-
|
62
|
-
|
63
|
-
@mergers[context] << tag
|
64
|
-
end
|
65
|
-
|
66
|
-
if tag.member_type
|
60
|
+
if tag.respond_to?(:member_type) && tag.member_type
|
61
|
+
tag.member_type[:name] = tag.tagname
|
67
62
|
@member_types << tag.member_type
|
68
63
|
end
|
69
64
|
|
@@ -94,26 +89,19 @@ module JsDuck
|
|
94
89
|
attr_reader :signatures
|
95
90
|
|
96
91
|
# Same as #member_types, but returns just the names of member types.
|
97
|
-
def member_type_names
|
98
|
-
member_types
|
92
|
+
def member_type_names
|
93
|
+
member_types.map {|mt| mt[:name] }
|
99
94
|
end
|
100
95
|
|
101
96
|
# Returns array of available member types.
|
102
97
|
# Sorted in the order defined by :position.
|
103
|
-
|
104
|
-
# An optional category argument can be given to limit the returned
|
105
|
-
# members to just :method_like or :property_like.
|
106
|
-
def member_types(category=:member)
|
98
|
+
def member_types
|
107
99
|
if !@member_types_sorted
|
108
100
|
@member_types.sort! {|a, b| a[:position] <=> b[:position] }
|
109
101
|
@member_types_sorted = true
|
110
102
|
end
|
111
103
|
|
112
|
-
|
113
|
-
@member_types
|
114
|
-
else
|
115
|
-
@member_types.find_all {|mt| mt[:category] == category }
|
116
|
-
end
|
104
|
+
@member_types
|
117
105
|
end
|
118
106
|
|
119
107
|
# Regex for matching member type name in member reference.
|
@@ -126,14 +114,6 @@ module JsDuck
|
|
126
114
|
@member_type_regex = Regexp.new("(?:(" + member_type_names.join("|") + ")-)")
|
127
115
|
end
|
128
116
|
|
129
|
-
# Returns tags for doing the merging in a particular context.
|
130
|
-
# See Tag::Tag#merge_context for details.
|
131
|
-
def mergers(context)
|
132
|
-
expand_merge_contexts unless @mergers_expanded
|
133
|
-
|
134
|
-
@mergers[context] || []
|
135
|
-
end
|
136
|
-
|
137
117
|
# Returns tags for rendering HTML, sorted in the order they should
|
138
118
|
# appear in final output. Sorting order is determined by the
|
139
119
|
# numeric :html_position field.
|
@@ -171,28 +151,6 @@ module JsDuck
|
|
171
151
|
@tagnames[name]
|
172
152
|
end
|
173
153
|
|
174
|
-
private
|
175
|
-
|
176
|
-
# Takes mergers registered under :member, :method_like or
|
177
|
-
# :property_like context and adds them to the contexts all of the
|
178
|
-
# detected suitable member types.
|
179
|
-
def expand_merge_contexts
|
180
|
-
expand_merger(:member)
|
181
|
-
expand_merger(:method_like)
|
182
|
-
expand_merger(:property_like)
|
183
|
-
@mergers_expanded = true
|
184
|
-
end
|
185
|
-
|
186
|
-
def expand_merger(type_name)
|
187
|
-
Array(@mergers[type_name]).each do |tag|
|
188
|
-
member_type_names(type_name).each do |tagname|
|
189
|
-
@mergers[tagname] = [] unless @mergers[tagname]
|
190
|
-
@mergers[tagname] << tag
|
191
|
-
end
|
192
|
-
end
|
193
|
-
@mergers.delete(type_name)
|
194
|
-
end
|
195
|
-
|
196
154
|
end
|
197
155
|
|
198
156
|
end
|
data/lib/jsduck/web/css.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'jsduck/tag_registry'
|
2
2
|
require 'jsduck/util/md5'
|
3
|
+
require 'jsduck/web/member_icons'
|
3
4
|
|
4
5
|
module JsDuck
|
5
6
|
module Web
|
@@ -13,9 +14,15 @@ module JsDuck
|
|
13
14
|
end
|
14
15
|
|
15
16
|
def write(filename)
|
16
|
-
File.open(filename, 'w') {|f| f.write(
|
17
|
+
File.open(filename, 'w') {|f| f.write(all_css) }
|
17
18
|
Util::MD5.rename(filename)
|
18
19
|
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def all_css
|
24
|
+
TagRegistry.css + Web::MemberIcons.css + @opts.css
|
25
|
+
end
|
19
26
|
end
|
20
27
|
|
21
28
|
end
|
data/lib/jsduck/web/data.rb
CHANGED
@@ -25,7 +25,8 @@ module JsDuck
|
|
25
25
|
:guides => @assets.guides.to_array,
|
26
26
|
:videos => @assets.videos.to_array,
|
27
27
|
:examples => @assets.examples.to_array,
|
28
|
-
:search => Web::Search.new.create(@relations.classes, @assets),
|
28
|
+
:search => Web::Search.new.create(@relations.classes, @assets, @opts),
|
29
|
+
:guideSearch => @opts.search,
|
29
30
|
:tests => @opts.tests,
|
30
31
|
:signatures => TagRegistry.signatures,
|
31
32
|
:memberTypes => TagRegistry.member_types,
|
@@ -41,6 +41,7 @@ module JsDuck
|
|
41
41
|
"{css_path}" => File.basename(@paths[:css]),
|
42
42
|
"{welcome}" => @assets.welcome.to_html("display:none"),
|
43
43
|
"{categories}" => @assets.categories.to_html("display:none"),
|
44
|
+
"{news}" => @assets.news.to_html("display:none"),
|
44
45
|
"{guides}" => @assets.guides.to_html("display:none"),
|
45
46
|
"{head_html}" => @opts.head_html,
|
46
47
|
"{body_html}" => @opts.body_html,
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'jsduck/tag_registry'
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
module JsDuck
|
5
|
+
module Web
|
6
|
+
|
7
|
+
# Manages member icons.
|
8
|
+
# Generating CSS for them and coping the image files over to output dir.
|
9
|
+
class MemberIcons
|
10
|
+
# Generates CSS for member icons
|
11
|
+
def self.css
|
12
|
+
css = []
|
13
|
+
members_with_icons.each do |m|
|
14
|
+
name = m[:name]
|
15
|
+
rule = ".icon-#{name} { background-image: url(member-icons/#{name}.png); background-repeat: no-repeat; }"
|
16
|
+
css << "#search-dropdown #{rule}"
|
17
|
+
css << ".members .members-section #{rule}"
|
18
|
+
css << ".members .comments-section #{rule}"
|
19
|
+
css << ".class-overview .x-toolbar.member-links #{rule}"
|
20
|
+
end
|
21
|
+
css.join("\n")
|
22
|
+
end
|
23
|
+
|
24
|
+
# Copies all member icons to given destination dir.
|
25
|
+
def self.write(dir)
|
26
|
+
FileUtils.mkdir(dir)
|
27
|
+
|
28
|
+
members_with_icons.each do |m|
|
29
|
+
if File.exists?(m[:icon])
|
30
|
+
FileUtils.cp(m[:icon], "#{dir}/#{m[:name]}.png")
|
31
|
+
else
|
32
|
+
Logger.warn(nil, "Member icon file not found", m[:icon])
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.members_with_icons
|
38
|
+
TagRegistry.member_types.find_all {|m| m[:icon] }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
end
|
data/lib/jsduck/web/search.rb
CHANGED
@@ -10,7 +10,7 @@ module JsDuck
|
|
10
10
|
class Search
|
11
11
|
# Given list of classes and other assets, returns an array of
|
12
12
|
# hashes describing the search data.
|
13
|
-
def create(classes, assets)
|
13
|
+
def create(classes, assets, opts)
|
14
14
|
list = []
|
15
15
|
|
16
16
|
classes.each do |cls|
|
@@ -32,7 +32,8 @@ module JsDuck
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
|
35
|
+
# Don't include guides data when separate guides search engine is provided
|
36
|
+
assets.guides.each_item {|g| list << guide_node(g) } unless opts.search[:url]
|
36
37
|
|
37
38
|
assets.videos.each_item {|v| list << video_node(v) }
|
38
39
|
|
data/lib/jsduck/web/writer.rb
CHANGED
@@ -7,6 +7,7 @@ require 'jsduck/web/index_html'
|
|
7
7
|
require 'jsduck/web/data'
|
8
8
|
require 'jsduck/web/css'
|
9
9
|
require 'jsduck/web/source'
|
10
|
+
require 'jsduck/web/member_icons'
|
10
11
|
require 'fileutils'
|
11
12
|
|
12
13
|
module JsDuck
|
@@ -24,6 +25,8 @@ module JsDuck
|
|
24
25
|
def write
|
25
26
|
write_template_files
|
26
27
|
|
28
|
+
write_member_icons
|
29
|
+
|
27
30
|
write_html_files
|
28
31
|
|
29
32
|
# class-formatting is done in parallel which breaks the links
|
@@ -45,6 +48,11 @@ module JsDuck
|
|
45
48
|
Web::Template.new(@opts).write
|
46
49
|
end
|
47
50
|
|
51
|
+
# Copy over member icons
|
52
|
+
def write_member_icons
|
53
|
+
Web::MemberIcons.write(@opts.output_dir+"/member-icons")
|
54
|
+
end
|
55
|
+
|
48
56
|
# Generate data.js and styles.css.
|
49
57
|
# Then generate HTML files, linking to the data.js and styles.css from them.
|
50
58
|
def write_html_files
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsduck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -3863910600
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 5
|
8
8
|
- 0
|
9
9
|
- 0
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 5.0.0.
|
11
|
+
- 3
|
12
|
+
version: 5.0.0.beta3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Rene Saarsoo
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2013-
|
21
|
+
date: 2013-05-28 00:00:00 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: rdiscount
|
@@ -90,14 +90,6 @@ dependencies:
|
|
90
90
|
- 10
|
91
91
|
- 0
|
92
92
|
version: 0.10.0
|
93
|
-
- - <
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
hash: 51
|
96
|
-
segments:
|
97
|
-
- 0
|
98
|
-
- 11
|
99
|
-
- 0
|
100
|
-
version: 0.11.0
|
101
93
|
type: :runtime
|
102
94
|
version_requirements: *id005
|
103
95
|
- !ruby/object:Gem::Dependency
|
@@ -196,16 +188,17 @@ files:
|
|
196
188
|
- lib/jsduck/class_doc_expander.rb
|
197
189
|
- lib/jsduck/class_name.rb
|
198
190
|
- lib/jsduck/class_writer.rb
|
191
|
+
- lib/jsduck/columns.rb
|
199
192
|
- lib/jsduck/css/lexer.rb
|
200
193
|
- lib/jsduck/css/parser.rb
|
201
194
|
- lib/jsduck/doc/comment.rb
|
195
|
+
- lib/jsduck/doc/delimited_parser.rb
|
202
196
|
- lib/jsduck/doc/map.rb
|
203
197
|
- lib/jsduck/doc/parser.rb
|
204
198
|
- lib/jsduck/doc/processor.rb
|
205
199
|
- lib/jsduck/doc/scanner.rb
|
206
200
|
- lib/jsduck/doc/standard_tag_parser.rb
|
207
201
|
- lib/jsduck/doc/subproperties.rb
|
208
|
-
- lib/jsduck/docs_code_comparer.rb
|
209
202
|
- lib/jsduck/examples.rb
|
210
203
|
- lib/jsduck/export_writer.rb
|
211
204
|
- lib/jsduck/exporter/app.rb
|
@@ -219,6 +212,8 @@ files:
|
|
219
212
|
- lib/jsduck/format/shortener.rb
|
220
213
|
- lib/jsduck/format/subproperties.rb
|
221
214
|
- lib/jsduck/grouped_asset.rb
|
215
|
+
- lib/jsduck/guide_anchors.rb
|
216
|
+
- lib/jsduck/guide_toc.rb
|
222
217
|
- lib/jsduck/guide_writer.rb
|
223
218
|
- lib/jsduck/guides.rb
|
224
219
|
- lib/jsduck/img/dir.rb
|
@@ -232,26 +227,36 @@ files:
|
|
232
227
|
- lib/jsduck/inline/video.rb
|
233
228
|
- lib/jsduck/inline_examples.rb
|
234
229
|
- lib/jsduck/js/ast.rb
|
230
|
+
- lib/jsduck/js/class.rb
|
235
231
|
- lib/jsduck/js/esprima.rb
|
236
232
|
- lib/jsduck/js/esprima/esprima.js
|
237
233
|
- lib/jsduck/js/evaluator.rb
|
234
|
+
- lib/jsduck/js/event.rb
|
238
235
|
- lib/jsduck/js/ext_patterns.rb
|
239
|
-
- lib/jsduck/js/
|
236
|
+
- lib/jsduck/js/fires.rb
|
237
|
+
- lib/jsduck/js/method.rb
|
238
|
+
- lib/jsduck/js/method_calls.rb
|
240
239
|
- lib/jsduck/js/node.rb
|
241
240
|
- lib/jsduck/js/node_array.rb
|
242
241
|
- lib/jsduck/js/parser.rb
|
242
|
+
- lib/jsduck/js/property.rb
|
243
|
+
- lib/jsduck/js/returns.rb
|
244
|
+
- lib/jsduck/js/scoped_traverser.rb
|
243
245
|
- lib/jsduck/js/serializer.rb
|
244
246
|
- lib/jsduck/js/utils.rb
|
245
247
|
- lib/jsduck/logger.rb
|
246
248
|
- lib/jsduck/members_index.rb
|
247
249
|
- lib/jsduck/merger.rb
|
250
|
+
- lib/jsduck/news.rb
|
248
251
|
- lib/jsduck/option_parser.rb
|
249
252
|
- lib/jsduck/options.rb
|
253
|
+
- lib/jsduck/params_merger.rb
|
250
254
|
- lib/jsduck/parser.rb
|
251
255
|
- lib/jsduck/process/accessors.rb
|
252
256
|
- lib/jsduck/process/circular_deps.rb
|
253
257
|
- lib/jsduck/process/enums.rb
|
254
258
|
- lib/jsduck/process/ext4_events.rb
|
259
|
+
- lib/jsduck/process/fires.rb
|
255
260
|
- lib/jsduck/process/global_members.rb
|
256
261
|
- lib/jsduck/process/ignored_classes.rb
|
257
262
|
- lib/jsduck/process/importer.rb
|
@@ -265,7 +270,7 @@ files:
|
|
265
270
|
- lib/jsduck/relations.rb
|
266
271
|
- lib/jsduck/render/class.rb
|
267
272
|
- lib/jsduck/render/sidebar.rb
|
268
|
-
- lib/jsduck/render/
|
273
|
+
- lib/jsduck/render/signature_util.rb
|
269
274
|
- lib/jsduck/render/subproperties.rb
|
270
275
|
- lib/jsduck/render/tags.rb
|
271
276
|
- lib/jsduck/source/file.rb
|
@@ -275,7 +280,6 @@ files:
|
|
275
280
|
- lib/jsduck/tag/alternate_class_names.rb
|
276
281
|
- lib/jsduck/tag/aside.rb
|
277
282
|
- lib/jsduck/tag/author.rb
|
278
|
-
- lib/jsduck/tag/autodetected.rb
|
279
283
|
- lib/jsduck/tag/boolean_tag.rb
|
280
284
|
- lib/jsduck/tag/cfg.rb
|
281
285
|
- lib/jsduck/tag/chainable.rb
|
@@ -293,17 +297,24 @@ files:
|
|
293
297
|
- lib/jsduck/tag/event.rb
|
294
298
|
- lib/jsduck/tag/evented.rb
|
295
299
|
- lib/jsduck/tag/extends.rb
|
300
|
+
- lib/jsduck/tag/fires.rb
|
296
301
|
- lib/jsduck/tag/ftype.rb
|
297
302
|
- lib/jsduck/tag/hide.rb
|
303
|
+
- lib/jsduck/tag/icons/cfg.png
|
304
|
+
- lib/jsduck/tag/icons/css_mixin.png
|
305
|
+
- lib/jsduck/tag/icons/css_var.png
|
306
|
+
- lib/jsduck/tag/icons/event.png
|
307
|
+
- lib/jsduck/tag/icons/method.png
|
308
|
+
- lib/jsduck/tag/icons/property.png
|
298
309
|
- lib/jsduck/tag/ignore.rb
|
299
310
|
- lib/jsduck/tag/inheritable.rb
|
300
311
|
- lib/jsduck/tag/inheritdoc.rb
|
301
312
|
- lib/jsduck/tag/localdoc.rb
|
302
313
|
- lib/jsduck/tag/markdown.rb
|
303
314
|
- lib/jsduck/tag/member.rb
|
315
|
+
- lib/jsduck/tag/member_tag.rb
|
304
316
|
- lib/jsduck/tag/method.rb
|
305
317
|
- lib/jsduck/tag/mixins.rb
|
306
|
-
- lib/jsduck/tag/name.rb
|
307
318
|
- lib/jsduck/tag/new.rb
|
308
319
|
- lib/jsduck/tag/override.rb
|
309
320
|
- lib/jsduck/tag/overrides.rb
|
@@ -345,6 +356,7 @@ files:
|
|
345
356
|
- lib/jsduck/web/data.rb
|
346
357
|
- lib/jsduck/web/icons.rb
|
347
358
|
- lib/jsduck/web/index_html.rb
|
359
|
+
- lib/jsduck/web/member_icons.rb
|
348
360
|
- lib/jsduck/web/search.rb
|
349
361
|
- lib/jsduck/web/source.rb
|
350
362
|
- lib/jsduck/web/template.rb
|
@@ -726,20 +738,18 @@ files:
|
|
726
738
|
- template-min/extjs/resources/themes/images/default/btn-group/btn-group-default-framed-sides.gif
|
727
739
|
- template-min/index-template.html
|
728
740
|
- template-min/README.md
|
741
|
+
- template-min/app-47d780a08807256b051d4f50850fface.js
|
729
742
|
- template-min/eg-iframe.html
|
730
|
-
- template-min/app-53d511d3c1fdd3f59e98c711b0cd8d09.js
|
731
743
|
- template-min/index.php
|
732
|
-
- template-min/resources/css/app-
|
744
|
+
- template-min/resources/css/app-b35792cfe6686887f720936b33191682.css
|
733
745
|
- template-min/resources/images/link-green-standard.png
|
734
746
|
- template-min/resources/images/class-m.png
|
735
747
|
- template-min/resources/images/singleton-m.png
|
736
|
-
- template-min/resources/images/version-tabs.png
|
737
748
|
- template-min/resources/images/down-arr.png
|
738
749
|
- template-min/resources/images/x.png
|
739
750
|
- template-min/resources/images/vote-arrows.png
|
740
751
|
- template-min/resources/images/ajax-loader.gif
|
741
752
|
- template-min/resources/images/x12.png
|
742
|
-
- template-min/resources/images/x122.png
|
743
753
|
- template-min/resources/images/member-expanded.gif
|
744
754
|
- template-min/resources/images/tablet-l.jpg
|
745
755
|
- template-min/resources/images/tablet-p.jpg
|
@@ -750,27 +760,21 @@ files:
|
|
750
760
|
- template-min/resources/images/member-hover.gif
|
751
761
|
- template-min/resources/images/default-guide.png
|
752
762
|
- template-min/resources/images/doc-m.png
|
753
|
-
- template-min/resources/images/preview.png
|
754
763
|
- template-min/resources/images/sample-over.gif
|
755
764
|
- template-min/resources/images/more.png
|
756
|
-
- template-min/resources/images/link-arrow-next.png
|
757
765
|
- template-min/resources/images/comment-bubble.png
|
758
766
|
- template-min/resources/images/tabs.png
|
759
767
|
- template-min/resources/images/expandcollapse.png
|
760
768
|
- template-min/resources/images/component-m.png
|
761
|
-
- template-min/resources/images/guides.png
|
762
769
|
- template-min/resources/images/elbow-end.gif
|
763
770
|
- template-min/resources/images/example-icons.png
|
764
771
|
- template-min/resources/images/logo-screen-noglow.png
|
765
|
-
- template-min/resources/images/sencha-stamp.png
|
766
772
|
- template-min/resources/images/link-green-standard-over.png
|
767
773
|
- template-min/resources/images/arrows.png
|
768
774
|
- template-min/resources/images/icons.png
|
769
775
|
- template-min/resources/images/logo.png
|
770
|
-
- template-min/resources/images/guide-icon.png
|
771
776
|
- template-min/resources/images/comment.png
|
772
777
|
- template-min/resources/images/loading.gif
|
773
|
-
- template-min/resources/images/gettingstarted.jpg
|
774
778
|
- template-min/resources/images/welcome-bg-js4.gif
|
775
779
|
- template-min/resources/images/header.png
|
776
780
|
- template-min/resources/images/search-box.png
|