RiotJS

Component ID

2838889

Component name

RiotJS

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

55

Component created

Component changed

Component body

About

The RiotJS module loads the riot.min.js file so that developers can depend on it when building Riot.js (see http://riotjs.com/) components.

After installing (see INSTALLATION below):

INSTALLATION

Manual

Composer

Composer may be used to download the library as follows:

  1. Add the following to composer.json require section
    "riot/riotjs": "^3.0"
    
  2. Add the following to composer.json installer-paths section (if not already added)
    "libraries/{$name}": ["type:drupal-library"]
  3. Add the following to composer.json repositories section (your version may differ)
    {
      "type": "package",
      "package": {
        "name": "riot/riotjs",
        "version": "3.0",
        "type": "drupal-library",
        "dist": {
            "url": "https://raw.githubusercontent.com/riot/riot/master/riot.min.js",
            "type": "file"
          }
       }
    }
  4. Open a command line terminal and navigate to the same directory as your
    composer.json file and run composer update.