Skip to content
This repository

A witchery Javascript MVC, based on Rivets and Watch.js

branch: master

Update README.md

latest commit 9478dfcbee
eyy authored
README.md

Witch.js Witch.js

A witchery Javascript MVC, based on Rivets and Watch.js.

Only 4kb minified (<1kb gzipped), live examples over here!

Install

bower install witch

Use

<div data-rivets="app">
    <h1 data-text="config.title"></h1>
</div>

<!-- dependencies -->
<script src="components/jquery/jquery.min.js"></script>
<script src="components/watch/index.js"></script>
<script src="components/rivets/dist/rivets.js"></script>

<!-- witchcraft -->
<script src="components/witch/dist/witch.min.js"></script>
<script>
    var app = {
        config: {
            title: 'Bewitched'
        }
    };
</script>

Documantation

License

MIT

Something went wrong with that request. Please try again.