Skip to content

Commit 8c73646

Browse files
committed
Merge branch 'release/v0.2.4'
2 parents 6202a16 + c3f55a6 commit 8c73646

File tree

14 files changed

+97
-67
lines changed

14 files changed

+97
-67
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (https://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# Yarn Integrity file
55+
.yarn-integrity
56+
57+
# dotenv environment variables file
58+
.env
59+
60+
# next.js build output
61+
.next
62+
63+
package-lock.json

.idea/es6.iml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/jsLibraryMappings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Ariyan Khan
3+
Copyright (c) 2017 Rousan Ali
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,29 @@
44

55
# ES6 Harmony
66

7-
Provides an equivalent implementation of `ES6(Harmony)` in pure `ES5` code and creates an `ES6` environment for old browsers or JavaScript Engines.
7+
Provides an equivalent implementation of `ES6(Harmony)` in pure `ES5` and creates an `ES6` environment for old browsers and JavaScript Engines.
88

9-
> ES6 shims in ES5 code.
9+
> ES6 shims in pure ES5.
1010
1111
## Install
1212

1313
### NPM
1414

15-
Install it from `npm` and require before any other modules:
15+
Install it from `npm` and `require` it before any other modules:
1616

1717
```bash
1818
$ npm install --save es6-harmony
1919
```
2020

21+
```javascript
22+
var ES6 = require("es6-harmony");
23+
```
24+
2125
### CDN
2226

2327
If you prefer CDN, then just insert it into your HTML page on the top of other scripts:
2428

25-
`<script src="https://cdn.jsdelivr.net/npm/es6-harmony"></script>`
29+
`<script src="https://cdn.jsdelivr.net/npm/es6-harmony/dist/es6-harmony.min.js"></script>`
2630

2731
## Examples
2832

@@ -326,12 +330,12 @@ promise.then(function (value) {
326330

327331
## Not Yet Implemented
328332

329-
Some features are not yet implemented, but can be implemented safely. Click [here](https://github.com/ariyankhan/es6-harmony/blob/master/not-yet-implemented.md) to view those features.
333+
Some features are not yet implemented, but can be implemented safely. Click [here](https://github.com/ariyankhan/es6-harmony/blob/master/not-yet-implemented.md) to see those features.
330334

331335
## Limitation
332336

333-
Some ES6 features can not be implemented in ES5 natively like `spread operator`, `for..of` loop, ES6 version of `instanceOf` operator etc.
334-
So this module exports a object named `ES6` globally, that provides some approximate equivalent implementation of those features.
337+
Some `ES6` features can not be implemented in `ES5` natively like `spread operator`, `for..of` loop, `ES6` version of `instanceOf` operator etc.
338+
So this module exports an object named `ES6` globally, that provides some approximate equivalent implementation of those features.
335339

336340
## `ES6` Object
337341

@@ -350,7 +354,6 @@ This object provides,
350354
* `isWeakSet`
351355
* `isPromise`
352356

353-
354357
## Contributing
355358

356359
Your PRs and stars are always welcome.
@@ -364,8 +367,8 @@ Please, try to follow:
364367
* Build the project.
365368

366369
```sh
367-
$ git clone https://github.com/rousan/vector.svg.git
368-
$ cd vector.svg
370+
$ git clone https://github.com/rousan/es6-harmony.git
371+
$ cd es6-harmony
369372
$ git checkout develop
370373
$ npm i
371374
$ npm run build

dist/es6-harmony.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)