Skip to content

sourcejs/sourcejs-smiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smiles support for SourceJS

SourceJS middleware to replace :) to emoticon smiles image.

Install

To install, run npm in sourcejs/user folder:

npm install sourcejs-smiles --save

Then restart your SourceJS application, middleware will be loaded automatically.

Settings

ignoreURLs

Add list of ignored urls to skip processing in sourcejs/user/options.js to assets.pluginsOptions:

smiles: {
    ignoreURLs: [
        '/url/to/your/page1',
        '/url/to/your/page2'
    ]
}