Comments (5)
Hello,
I do believe that version 1.0.4 introduced an issue.
I've been pulling highlightjs-copy from the CDN in a project I'm currently actively working on.
The moment version 1.0.4 was placed on the CDN, I started to receive the issues mentioned above.
I'm currently working around it using the following to retrieve the file from the CDN: <script src="https://unpkg.com/[email protected]/dist/highlightjs-copy.min.js"></script>
from highlightjs-copy.
I get the same error
Uncaught ReferenceError: module is not defined
Uncaught ReferenceError: Cannot access 'locales' before initialization
from highlightjs-copy.
same issue, downgrade to 1.0.3.
from highlightjs-copy.
@MohHeader please confirm 1.0.5 resolves this issue
from highlightjs-copy.
@arronhunt, yup it is working now, I am really grateful for the fix.
Thanks
from highlightjs-copy.
Related Issues (12)
- TypeScript Support HOT 6
- This library does not work HOT 13
- Copy icon for lighter themes
- Support for ReactJS
- Just copy one line HOT 1
- Nextjs13 - ReferenceError: self is not defined HOT 1
- Doesn't work HOT 4
- The first line is a Redundant Blank line HOT 4
- Change Inner Text "Copied!" when click copy button HOT 2
- how to import highlightjs-copy in js file after npm install HOT 2
- License
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highlightjs-copy.