Skip to content

Commit

Permalink
Merged latest master.
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-diamantoukos committed Jun 7, 2019
2 parents 60be129 + aa33428 commit d7c7b5a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
17 changes: 14 additions & 3 deletions lib/umap-js.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/******/ (function(modules) { // webpackBootstrap
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(window, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
Expand Down Expand Up @@ -1033,7 +1043,7 @@ exports.searchFlatTree = searchFlatTree;

Object.defineProperty(exports, "__esModule", { value: true });
var umap_1 = __webpack_require__(6);
window.UMAP = umap_1.UMAP;
exports.UMAP = umap_1.UMAP;


/***/ }),
Expand Down Expand Up @@ -6849,4 +6859,5 @@ class cholesky_CholeskyDecomposition {


/***/ })
/******/ ]);
/******/ ]);
});
2 changes: 1 addition & 1 deletion lib/umap-js.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"license": "MIT",
"repository": "PAIR-code/umap-js",
"main": "dist/index.js",
"unpkg": "lib/umap-js.min.js",
"jsdelivr": "lib/umap-js.min.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
Expand Down
3 changes: 1 addition & 2 deletions src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
* ==============================================================================
*/

import { UMAP } from './umap';
(window as any).UMAP = UMAP;
export { UMAP } from './umap';
1 change: 1 addition & 0 deletions webpack/lib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default {
},
output: {
filename: 'umap-js.js',
libraryTarget: 'umd',
path: path.resolve(__dirname, '../lib'),
},
optimization: { minimize: false },
Expand Down

0 comments on commit d7c7b5a

Please sign in to comment.