Sha256: 2da40b2536de3ff4f0b37cbf6ef630dee44b49f75fb692de7243a795060aeb84

Contents?: true

Size: 392 Bytes

Versions: 41

Compression:

Stored size: 392 Bytes

Contents

var mumuki = mumuki || {};

(function (mumuki) {

  var CustomEditor = {
    sources: [],

    addSource: function (source) {
      CustomEditor.sources.push(source);
    },

    // Each external source must implement getContent method

    getContent: function () {
      return CustomEditor.sources.map( e => e.getContent() );
    }
  };

  mumuki.CustomEditor = CustomEditor;

}(mumuki));

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
mumuki-laboratory-6.4.0 app/assets/javascripts/application/custom-editor.js