Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A witchery Javascript MVC, based on Rivets and Watch.js
branch: master

Update README.md

latest commit 9478dfcbee
eyy authored
Failed to load latest commit information.
dist grunt
example site files
tests update components, remove bundled
.bowerrc move components
.gitignore ignore node_modules
CNAME site files
Gruntfile.js grunt
README.md
app.js move components to /example, merge with gh-pages
bower.json ignore some files
index.html google analytics
package.json grunt

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.