Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to ES5? #9

Open
Thundros opened this issue May 2, 2019 · 9 comments
Open

Convert to ES5? #9

Thundros opened this issue May 2, 2019 · 9 comments

Comments

@Thundros
Copy link

Thundros commented May 2, 2019

Hello, @yomotsu ! I just would like to ask if you could convert this library to ES5 as opposed to ES6 so that I may study the code if possible since it is MIT licensed. I would very much like to use this as part of my demo but at the same time, I only need to utilize the library functions in my demo. There are some defaults in the library that I cannot use such as using my own Keys library for moving the character & such.

Thank you so much for all that you do & please continue doing it!

Have a great day! <3

Thundros

@Thundros
Copy link
Author

Thundros commented May 3, 2019

Hello?

@Thundros
Copy link
Author

Thundros commented May 7, 2019

hello?...

@yomotsu
Copy link
Owner

yomotsu commented May 8, 2019

Sorry for the delay.
Actually, ES5 version is already available.
following one is published automatically using rollup.js.
https://github.com/yomotsu/meshwalk.js/blob/master/dist/meshwalk.js

@Thundros
Copy link
Author

Thundros commented May 8, 2019

Hi, yomotsu! :) No worries! I was wondering. Is there a way to remove stuff like this?

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.MW = {})));
}(this, (function (exports) { 'use strict';

@yomotsu
Copy link
Owner

yomotsu commented May 9, 2019

Do you really need to remove that?
It just works as ES5.

@Thundros
Copy link
Author

Thundros commented Jun 4, 2019

@yomotsu Yes, I do need to remove it so I can study just the classes & not the mangled mess.

@Thundros
Copy link
Author

Thundros commented Jun 5, 2019

Hello @yomotsu ?

@Thundros
Copy link
Author

Thundros commented Jun 8, 2019

hello?

@Thundros
Copy link
Author

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants