Enyo Graphic Captcha

Use a simple puzzle as a captcha instead of textual images

by Roberto Apasajja

HTML

<script src="http://d3lp1msu2r81bx.cloudfront.net/kjs/js/lib/kinetic-v4.7.4.min.js"></script>
<script src="https://rawgithub.com/pcimino/EnyoCaptcha/master/source/captcha-util.js"></script>
<script src="http://rawgithub.com/pcimino/EnyoCaptcha/master/source/EnyoCaptcha.js"></script>
<script src="http://rawgithub.com/pcimino/EnyoCaptcha/master/source/CaptchaTextPuzzle.js"></script>
<script src="http://rawgithub.com/pcimino/EnyoCaptcha/master/source/CaptchaMain.js"></script>
<script src="http://rawgithub.com/pcimino/EnyoCaptcha/master/source/CaptchaGraphicPuzzle.js"></script>
<script type="text/javascript">
    new App().renderInto(document.body);
</script>

JavaScript

/*
* https://github.com/pcimino/EnyoCaptcha
*/

enyo.kind({
    name: 'App',
    kind: enyo.Control,
    components: [{name: 'enyoCaptcha'
                  , kind: 'tld.EnyoCaptcha'
                  , successDisplayText: 'Captcha solved!'
                  , width:600, height:250}
    ]
});