-
Notifications
You must be signed in to change notification settings - Fork 1
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
pgn-parser - experimenty s npm #7
Labels
documentation
Improvements or additions to documentation
Comments
|
Řešením bylo použití Browserify. Je to tricky:
Napsal jsem to jako dokumentační issue přímo k tomu |
I had hard time to make the library possible to use in the client side application, Browser. The successfull steps were at last:
const parser = require('./pgn-parser.js')
window.parsePgn = parser.parse
<script type="text/javascript" src="pgn/pgn-bundle.js"></script>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chci použít: https://github.com/mliebelt/pgn-parser
V IntelliJ build in terminal:
Zkoušel jsem předtím použít zdrojáky přes github clone. Ale řvalo to mnoho různých errorů, souvisejících s module, require atd.
The text was updated successfully, but these errors were encountered: