Skip to content

doptrois/Enhanse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Enhanse

Replaces HTML comments with data

Usage

Possible HTML comment:

<!-- {example} -->

Javascript code

// Initialize
Enhanse.init();

// Insert menu button
Enhanse.enhance("{example}", function () {
    return '<strong>foo</strong>';
});

Changes the HTML comment to:

<strong>foo</strong>

About

Replaces HTML comments with data

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors