Skip to content

Livefyre/streamhub-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamhub-editor

Build Status

Minimal editor for use with streamhub.

Implementing a Subclass

The Editor is itself a subclass of View.

The Editor defines a _i18 property for its display strings that can either be overridden or extended.

The Editor has a few abstract methods:

@param {Object} data
#sendPostEvent

What to do with the comment data (dispatch a DOM event, invoke a service, etc.)

@param {Object} data
#_handlePostFailure = util.abstractMethod;

What to do on error.

@param {Object} data
#_handlePostSuccess = util.abstractMethod;

What to do on success.

About

JavaScript minimal editor for use with the streamhub sdk.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 93.0%
  • CSS 4.9%
  • HTML 1.7%
  • Makefile 0.4%