Skip to content

Commit

Permalink
翻译README
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling committed Apr 3, 2019
1 parent 585ad1c commit 14bf6a5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,36 +38,36 @@ unit test ensure it supports the following environments.
npm installation

```bash
$ npm install --save @jsmini/clone
$ npm install --save @jsmini/extend
```

Node.js

```js
var name = require('@jsmini/clone').name;
var name = require('@jsmini/extend').name;
```

webpack

```js
import { name } from '@jsmini/clone';
import { name } from '@jsmini/extend';
```

Require.js

```js
requirejs(['node_modules/@jsmini/clone/dist/index.aio.js'], function (jsmini_clone) {
var name = jsmini_clone.name;
requirejs(['node_modules/@jsmini/extend/dist/index.aio.js'], function (jsmini_extend) {
var name = jsmini_extend.name;
})
```

Browser

```html
<script src="node_modules/@jsmini/clone/dist/index.aio.js"></script>
<script src="node_modules/@jsmini/extend/dist/index.aio.js"></script>

<script>
var name = jsmini_clone.name;
var name = jsmini_extend.name;
</script>
```

Expand Down Expand Up @@ -118,12 +118,12 @@ $ npm run rename # rename command
```

## Contributors
[contributors](https://github.com/jsmini/clone/graphs/contributors)
[contributors](https://github.com/jsmini/extend/graphs/contributors)

## CHANGELOG
[CHANGELOG.md](https://github.com/jsmini/clone/blob/master/CHANGELOG.md)
[CHANGELOG.md](https://github.com/jsmini/extend/blob/master/CHANGELOG.md)

## TODO
[TODO.md](https://github.com/jsmini/clone/blob/master/TODO.md)
[TODO.md](https://github.com/jsmini/extend/blob/master/TODO.md)

## who is using

0 comments on commit 14bf6a5

Please sign in to comment.