Skip to content

Commit

Permalink
0.1.0: Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Download committed Apr 10, 2017
1 parent 228b485 commit 191e464
Show file tree
Hide file tree
Showing 12 changed files with 197 additions and 180 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": [
["es2015", {"modules": false}]
["es2015"]
]
}
}
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,11 @@ npm install --save mics
```js
var mix = require('mics').mix
var is = require('mics').is
// or, shorthand
var mix = require('mics')
```

### import
```js
import { mix, is } from 'mics'
// or, shorthand
import mix from 'mics'
```

### AMD
Expand All @@ -64,7 +60,7 @@ Mixins look a lot like classes, but they are regular ES5 constructor functions,
ES6 class. You create them with the `mix` function:

```js
import mix from 'mics'
import { mix } from 'mics'

var Looker = mix(superclass => class Looker extends superclass {
constructor() {
Expand Down
18 changes: 12 additions & 6 deletions dist/mics.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mics.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mics.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mics.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 191e464

Please sign in to comment.