lib/spiderfw/widget/widget.rb in spiderfw-0.6.11 vs lib/spiderfw/widget/widget.rb in spiderfw-0.6.12
- old
+ new
@@ -252,27 +252,10 @@
Spider::GetText.in_domain(self.class.app.short_name){
@attributes = WidgetAttributes.new(self)
}
@id_path = []
@widget_attributes = {}
- locale = @request.locale.language
- # include_js = [
- # '/js/jquery/jquery-1.4.2.js', '/js/inheritance.js', '/js/spider.js', '/js/jquery/plugins/jquery.query-2.1.6.js',
- # '/js/jquery/plugins/jquery.form.js',
- # '/js/plugins/plugin.js'
- # ]
- # # include_js << [
- # # '/js/jquery/jquery-ui/development-bundle/ui/jquery-ui-1.7.2.custom.js',
- # # #'/js/jquery/jquery-ui/development-bundle/ui/jquery-ui-1.7.2.custom.min.js',
- # # "/js/jquery/jquery-ui/development-bundle/ui/i18n/ui.datepicker-#{locale}.js"
- # # ]
- # include_css = [
- # '/css/spider.css', '/js/jquery/jquery-ui/css/smoothness/jquery-ui-1.7.2.custom.css',
- # ]
@assets = []
- # include_js.each{ |js| @assets << {:type => :js, :src => Spider::Components.pub_url+js, :path => Spider::Components.pub_path+js}}
- # include_css.each{ |css| @assets << {:type => :css, :src => Spider::Components.pub_url+css, :path => Spider::Components.pub_path+css}}
- #
@use_template ||= self.class.default_template
@css_classes = []
@widgets_runtime_content = {}
@widget_procs = {}
@runtime_overrides = []