Skip to content

Commit

Permalink
docs(shape): Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed May 12, 2016
1 parent b641089 commit 24e6761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Code = require('../lib/Code');
const cursor = require('kittik-cursor').create().reset();

Code.create(cursor, {
code: `for (let i = 0; i < 1234; i++) {console.log('KittikJS: shape for code rendering');}`,
code: `for (let i = 0; i < 1234; i++) {try{const bool = true;console.log(bool);}catch(e){throw new Error(e);}}`,
x: 'center',
y: 'middle'
}).render();
Expand Down

0 comments on commit 24e6761

Please sign in to comment.