Given class name, e.g. GridPanelLib::Components::RecordFormWindow, returns its scope: “Components.RecordFormWindow”
# File lib/netzke/javascript/scopes.rb, line 9 def js_class_name_to_scope(name) name.split("::")[0..-2].join(".") end
Top level scope which will be used to scope out Netzke classes
# File lib/netzke/javascript/scopes.rb, line 14 def js_default_scope "Netzke.classes" end
Returns the full name of the JavaScript class, including the scopes and the common scope, which is Netzke.classes. E.g.: “Netzke.classes.Netzke.GridPanelLib.RecordFormWindow”
# File lib/netzke/javascript/scopes.rb, line 33 def js_full_class_name [js_full_scope, short_component_class_name.split("::").last].join(".") end
Generated with the Darkfish Rdoc Generator 2.