Skip to content

Commit

Permalink
fix(animation): Fix issue with export default class
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Feb 5, 2016
1 parent ab0a2f0 commit 53e07e2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["es2015-node4"]
"presets": ["es2015-node4"],
"plugins": ["add-module-exports"]
}
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ node_js:
- stable
- 5
- 4
before_install:
- npm install -g npm@latest
before_script:
- npm prune
after_success:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Eugene Obrezkov
Copyright (c) 2015-2016 Eugene Obrezkov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ Include in your project:
```javascript
import Slide from 'kittik-animation-slide';
import Rectangle from 'kittik-shape-rectangle';
import { Cursor } from 'kittik-cursor';
import Cursor from 'kittik-cursor';

const cursor = Cursor.create();
const shape = Rectangle.create();

Slide.create().animate(shape, cursor).then(shape => doSmthNextWithShape(shape));
Slide.create().animate(shape, cursor).then(shape => doSmthElseWithShape(shape));
```

## License

The MIT License (MIT)

Copyright (c) 2015 Eugene Obrezkov
Copyright (c) 2015-2016 Eugene Obrezkov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"devDependencies": {
"babel-cli": "6.4.5",
"babel-plugin-add-module-exports": "0.1.2",
"babel-preset-es2015-node4": "2.0.3",
"chai": "3.5.0",
"coveralls": "2.11.6",
Expand Down

0 comments on commit 53e07e2

Please sign in to comment.