Skip to content

Commit

Permalink
chore: Typo babelrc. Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Sep 29, 2016
1 parent 9357154 commit 676b345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .babelrc
@@ -1,4 +1,4 @@
{
"presets": ["es2015"],
"plugins": ["add-module-exports", "transform-es2015-modules-commonJS"]
"plugins": ["add-module-exports", "transform-es2015-modules-commonjs"]
}
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -20,7 +20,7 @@ Morphism is curried function that allows a partial application with a semantic c

#### As a Mapper factory
```js
var Morphism = require('morphism');
const Morphism = require('morphism'); // (ES6 Import) import Morphism from 'morphism';

let mapping = { ... }
let collectionOfObjects = [ ... ]
Expand All @@ -34,7 +34,7 @@ myAwesomeMapper(anotherCollection);

#### As a Static instance
```js
var Morphism = require('morphism');
const Morphism = require('morphism');

let mapping = { ... }
let collectionOfObjects = [ ... ]
Expand Down

0 comments on commit 676b345

Please sign in to comment.