Skip to content

Commit

Permalink
removed references to ccxt.es5.js from anywhere I could find (example…
Browse files Browse the repository at this point in the history
…s. build scripts, test files)
  • Loading branch information
xpl committed Sep 19, 2017
1 parent a4dbe99 commit f8e1735
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 10 deletions.
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ The contents of the repository are structured as follows:
/README.md # master markdown for GitHub, npmjs.com, npms.io, yarn and others
/README.rst # slave reStructuredText for PyPI
/build/ # a folder for the generated slave source files
/build/ccxt.es5.js # slave generated JavaScript ES5 version of the ccxt library
/build/ccxt.php # slave generated PHP version of the ccxt library
/ccxt.js # master JS ES6 version of the ccxt library
/ccxt.php # base code for the PHP version of the ccxt library
Expand Down Expand Up @@ -122,14 +121,13 @@ The ccxt library includes one single file per each language:
/ccxt.browser.js # base code for the browserified version of the library
/ccxt.php # base code for the slave PHP version of the ccxt library
/ccxt/__init__.py # slave Python-version of the ccxt library
/build/ccxt.es5.js # slave JavaScript ES5 version of the ccxt library
/build/ccxt.browser.js # slave browser bundle of the ccxt library
/build/ccxt.php # slave PHP-version of the ccxt library
```

The module entry points are:
- `./ccxt/__init__.py` for the Python pip package
- `./build/ccxt.es5.js` for the Node.js npm package
- `./ccxt.js` for the Node.js npm package
- `./build/ccxt.browser.js` for the browser bundle
- `./build/ccxt.php` for PHP

Expand Down
2 changes: 1 addition & 1 deletion build/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
browserify --debug ./ccxt.browser.js > ./build/ccxt.browser.js
*/

window.ccxt = require ('./ccxt') //require ('./build/ccxt.es5')
window.ccxt = require ('./ccxt')
},{"./ccxt":2}],2:[function(require,module,exports){
(function (process){
"use strict";
Expand Down
2 changes: 1 addition & 1 deletion ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
browserify --debug ./ccxt.browser.js > ./build/ccxt.browser.js
*/

window.ccxt = require ('./ccxt') //require ('./build/ccxt.es5')
window.ccxt = require ('./ccxt')
2 changes: 1 addition & 1 deletion examples/js/builtin-rate-limiting-rest-poller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const ccxt = require ('../../build/ccxt.es5.js')
const ccxt = require ('../../ccxt.js')
const log = require ('ololog')
const ansi = require ('ansicolor').nice
const asTable = require ('as-table')
Expand Down
1 change: 0 additions & 1 deletion examples/js/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//-----------------------------------------------------------------------------

const [processPath, , exchangeId, methodName, ... params] = process.argv.filter (x => !x.startsWith ('--'))
const ccxtFile = process.argv.includes ('--es6') ? 'ccxt.js' : 'build/ccxt.es5.js'
const verbose = process.argv.includes ('--verbose')

//-----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git add --force build/ccxt.es5.js
git add --force build/ccxt.browser.js
git add --force build/ccxt.php
git add --force ccxt/version.py
Expand Down
3 changes: 1 addition & 2 deletions test_base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* ------------------------------------------------------------------------ */

const ccxtFile = process.argv.includes ('--es6') ? './ccxt.js' : './build/ccxt.es5.js'
, ccxt = require (ccxtFile)
const ccxt = require ('./ccxt')
, assert = require ('assert')
, log = require ('ololog')
, ansi = require ('ansicolor').nice;
Expand Down

0 comments on commit f8e1735

Please sign in to comment.