Torashi1069 / Ragna-roc-rob-Browser-plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ragna.roBrowser-plugins

Plugin repository for Ragna.roBrowser

How to install plugins

  • Copy any plugin folder from src/Plugins/ into the same folder in Ragna.roBrowser
  • Add the plugin (or plugins) to the plugin list in Ragna.roBrowser's ROConfig, separated with comma as:

<Plugin_name>: '<Path_to_the_plugin_javascript_under_src_without_the_.js_extension>'

Example:

function initialize() {
      var ROConfig = {
          ...
          plugins: { 
                      KeyToMove: 'KeyToMove/KeyToMove',
                      BBGutterLines: 'BBGutterLines/BBGutterLines'
                   },
          ...
      };
      var RO = new ROBrowser(ROConfig);
      RO.start();
  }
  window.addEventListener("load", initialize, false);
  • Refresh your site & enjoy

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%