Sha256: 45dafbe1ab4a55cb162c967a364c4f06b31992bdd2cef2dfdfe1d3e1b448c3a5

Contents?: true

Size: 362 Bytes

Versions: 15

Compression:

Stored size: 362 Bytes

Contents

Compass.ErpApp.Widgets.<%=class_name%> = {
	clickedWidget:function(){
		alert('My new widget <%= description %> was clicked');
	}
}

Compass.ErpApp.Widgets.AvailableWidgets.push({
    name:'<%= description %>',
    iconUrl:'<%= icon_url %>',
    onClick:Compass.ErpApp.Widgets.<%=class_name%>.clickedWidget,
    about:'What my new widget is about'
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
erp_app-3.0.16 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.15 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.14 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.13 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.12 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.10 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.9 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.8 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.7 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.6 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.5 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.4 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.3 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.2 lib/generators/cms_widget/templates/javascript/base.js.erb
erp_app-3.0.1 lib/generators/cms_widget/templates/javascript/base.js.erb