Skip to content

Commit

Permalink
docs(animation): Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Feb 5, 2016
1 parent 53e07e2 commit 93abb70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/advanced.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";

const cursor = require('kittik-cursor').default.create().resetTTY();
const Rectangle = require('kittik-shape-rectangle').default;
const Slide = require('../lib/Slide').default;
const cursor = require('kittik-cursor').create().resetTTY();
const Rectangle = require('kittik-shape-rectangle');
const Slide = require('../lib/Slide');
const AVAILABLE_DIRECTIONS = ['inUp', 'inDown', 'inLeft', 'inRight'];
const shapes = [
Rectangle.create({background: 'dark_blue', x: 'left', y: 'top', text: 'Shape 1'}),
Expand Down
6 changes: 3 additions & 3 deletions examples/simple.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";

const cursor = require('kittik-cursor').default.create().resetTTY();
const Slide = require('../lib/Slide').default;
const shape = require('kittik-shape-rectangle').default.create({
const cursor = require('kittik-cursor').create().resetTTY();
const Slide = require('../lib/Slide');
const shape = require('kittik-shape-rectangle').create({
text: 'Good news, everybody!',
x: 'center',
background: 'white',
Expand Down

0 comments on commit 93abb70

Please sign in to comment.