I hereby claim:
- I am matsilva on github.
- I am matsilva (https://keybase.io/matsilva) on keybase.
- I have a public key ASDAJSj6sBOAhsAarw0gqKIaoJMy4tCwvYRziY_FaA0ISQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var React = require('react'); | |
var PropTypes = React.PropTypes; | |
var CheckBox = React.createClass({ | |
propTypes: { | |
addClass: PropTypes.string, | |
text: PropTypes.string, | |
onCheck: PropTypes.func.isRequired, | |
}, | |
getInitialState: function() { |
function hash (s){ | |
var h = 7 | |
var letters = 'acdegilmnoprstuw' | |
for(var i = 0; i < s.length; i++){ | |
console.log(h + ' ' + s[i] + ' ' + letters.indexOf(s[i])) |