This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="react-konva DEMO"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>react-konva DEMO</title> | |
<script type="text/javascript" src="https://cdn.rawgit.com/konvajs/konva/0.14.0/konva.min.js"></script> | |
<script type="text/javascript" src="https://rawgit.com/lavrton/react-konva/v1.0.1/dist/react-konva.bundle.js"></script> | |
<script src="http://rawgit.com/mrdoob/stats.js/master/build/stats.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const check = (suma, x, requireValues) => { | |
const deepCheck = y => { | |
return y | |
? Object.entries(y).reduce((sumb, z) => { | |
return check(sumb, z, requireValues); | |
}, {}) | |
: 'Required'; | |
}; | |
let result; |
OlderNewer