Skip to content

A mustache oj plugin -- for when you can't switch everything to oj all at once!

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MUSTACHE_LICENSE
Notifications You must be signed in to change notification settings

ojjs/oj.mustache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oj.mustache

A mustache plugin for oj. In a perfect world you wouldn't need mustache when you have oj. Well the world isn't perfect. Good luck out there.

Usage

oj.mustache """
  <html>
    <body>
      Hi, my name is {{name}}. My twitter handle is @{{twitter}}
    </body>
  </html>
""", name: 'Evan', twitter:'evanmoran'

Note: You can pass the arguments in any order. Objects will be unioned into a view. The string will be assumed to be a template.

Docs

ojjs.org/plugins#mustache

About

A mustache oj plugin -- for when you can't switch everything to oj all at once!

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MUSTACHE_LICENSE

Stars

Watchers

Forks

Packages

No packages published