API Docs for: 1.0.0
Show:

File: Resources/public/js/alloyeditor/processors/base.js

  1. /*
  2. * Copyright (C) eZ Systems AS. All rights reserved.
  3. * For full copyright and license information view LICENSE file distributed with this source code.
  4. */
  5. YUI.add('ez-editorcontentprocessorbase', function (Y) {
  6. "use strict";
  7. /**
  8. * Provides the base EditorContentProcessor
  9. *
  10. * @module ez-editorcontentprocessorbase
  11. */
  12.  
  13. Y.namespace('eZ');
  14.  
  15. /**
  16. * The base EditorContentProcessor.
  17. *
  18. * @namespace eZ
  19. * @class EditorContentProcessorBase
  20. * @constructor
  21. */
  22. var Processor = function () {};
  23.  
  24. /**
  25. * Process the `data` and returns a new string version of.
  26. *
  27. * @method process
  28. * @param {String} data the data to process
  29. * @return {String}
  30. */
  31. Processor.prototype.process = function (data) {
  32. return data;
  33. };
  34.  
  35. Y.eZ.EditorContentProcessorBase = Processor;
  36. });
  37.