Skip to content

Instantly share code, notes, and snippets.

@danil-z
Created September 1, 2011 19:33
Show Gist options
  • Save danil-z/1187049 to your computer and use it in GitHub Desktop.
Save danil-z/1187049 to your computer and use it in GitHub Desktop.
app/components/dashboard.rb
class Dashboard < Netzke::Base
ex = Netzke::Core.ext_path.join("examples/desktop/js")
js_include ex.join("Desktop.js"), ex.join("App.js") , ex.join("FitAllLayout.js"), ex.join("Module.js")
js_include ex.join("ShortcutModel.js"), ex.join("StartMenu.js"), ex.join("TaskBar.js"), ex.join("Wallpaper.js")
js_base_class "Ext.ux.desktop.App"
js_mixin :main
end
{
initComponent: function() {
this.callParent();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment