wadmiraal/rtfm

View on GitHub
lib/rtfm-strikethrough.js

Summary

Maintainability
A
1 hr
Test Coverage

var rtfm = require( '../lib/rtfm' );

var strikeThrough = rtfm.InlinePlugin.extend({

    register: function( string ) {
        this.pattern = '--';
        return rtfm.InlinePlugin.prototype.register.call( this, string );
    }

});

module.exports = strikeThrough;