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
Can I merge Javascript files into one file? #4
Comments
Hi @gusbemacbe, Technically you can merge many pattern files together, every pattern collection will live in var hyphenationPatternsDe = require('patterns/de'); Then you initiate your var hyphenate = createHyphenator(hyphenationPatternsDe); |
I updated to GitHub pages. I copied these codes and pasted into HTML file and it did not work. I also copied the codes from your JSFiddle demo and it did not work either. I do not know why. My template got ugly and I do not know how to fix it. Please, check my HTML file: And to view the page: |
@gusbemacbe there's a resource loading problem on your demo page, press F12 and check the |
I'm using a Mac and F12 took me to the Dashboard. What is the button in Mac? |
@gusbemacbe I made a Pull request for your demo page, merge it with your project |
@gusbemacbe in short, you should load files from other origins through https protocol and use root paths './' to load local files |
I merged, but the texts disappeared. I thought that with adding of |
@gusbemacbe I opened an issue in your project, lets continue conversation there |
Hello,
Can I merge
hyphen.js
and many Javascript patterns files into one?Thank you!
Gustavo
The text was updated successfully, but these errors were encountered: