Skip to content

Commit

Permalink
docs(shape): Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Feb 5, 2016
1 parent 4a82a3c commit 5017ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/simple.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

const Rectangle = require('../lib/Rectangle').default;
const cursor = require('kittik-cursor').default.create().resetTTY();
const Rectangle = require('../lib/Rectangle');
const cursor = require('kittik-cursor').create().resetTTY();

Rectangle.create({text: 'Text here!', x: 'center', width: 20, background: 'green', foreground: 'black'}).render(cursor);
Rectangle.create({x: 'center', y: 'middle', width: '50%', height: '20%', background: 'dark_blue'}).render(cursor);
Expand Down

0 comments on commit 5017ad1

Please sign in to comment.