cloudstack/ui
Brian Federle 347ac311a0 UI Plugin: Use new format
Define plugins as namespaced objects instead of as function calls. This
is easier to implement and manage by the framework.

New format changes for defining plugins:

Now create 2 JS files in plugin folder:
  -config.js
  -[pluginName].js

plugins.js (listing) format:

  cloudStack.plugins = [
    'testPlugin'
  ];

config.js format:

  cloudStack.plugins.testPlugin.config = {
    title: 'Test Plugin',
    desc: 'Sample plugin'
  };

[pluginName].js format:

  cloudStack.plugins.testPlugin = function(plugin) {
    //
    // Plugin code goes here
    //
  };
2012-12-20 11:55:44 -08:00
..
css Add/style basic plugin listing 2012-12-19 15:04:47 -08:00
images Add/style basic plugin listing 2012-12-19 15:04:47 -08:00
lib Add plugin loading functionality and basic framework 2012-12-19 15:47:25 -08:00
plugins UI Plugin: Use new format 2012-12-20 11:55:44 -08:00
scripts UI Plugin: Use new format 2012-12-20 11:55:44 -08:00
tests License header updates for the UI folder 2012-08-03 12:45:47 -04:00
dictionary.jsp CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references 2012-12-16 20:39:03 -08:00
index.jsp UI Plugin: Use new format 2012-12-20 11:55:44 -08:00