Method: JsDuck::Process::Ext4Events#ext4_style_code?
- Defined in:
- lib/jsduck/process/ext4_events.rb
#ext4_style_code? ⇒ Boolean
Are we dealing with code looking like ExtJS 4? True if any of the classes is defined with Ext.define()
23 24 25 |
# File 'lib/jsduck/process/ext4_events.rb', line 23 def ext4_style_code? @classes.values.any? {|cls| cls[:code_type] == :ext_define } end |