A witchery Javascript MVC, based on Rivets and Watch.js
JavaScript CSS CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
example
tests
.bowerrc
.gitignore
CNAME
Gruntfile.js
README.md
app.js
bower.json
index.html
package.json

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