Skip to main content
10 events
when toggle format what by license comment
May 9, 2021 at 16:42 review Suggested edits
May 9, 2021 at 22:55
Jan 18, 2021 at 17:20 comment added Cristian E. What if thats the actual intention, referencing it from /src. As the author is not planning to expose a property of a class for example..
Jun 25, 2020 at 0:19 history edited Evan Carroll CC BY-SA 4.0
edited body
S Feb 18, 2020 at 13:13 history suggested Nathaniades CC BY-SA 4.0
removed a word that was used twice in a row (using)
Feb 18, 2020 at 12:43 review Suggested edits
S Feb 18, 2020 at 13:13
Nov 5, 2019 at 18:38 history bounty awarded A Farmanbar
Oct 3, 2019 at 6:33 comment added Jerry Chen I've downloaded through npm, now I have script : <script src="node_modules/milsymbol/dist/milsymbol.js"></script>, but the console still returns Uncaught ReferenceError: ms is not defined. The issue is ms is not defined in the dist/milsymbol.js, it's defined in src/milsymbol.js, but it requires type="module" and will cause scope problem. Is there any solution for this. Thanks so much!
Oct 3, 2019 at 6:15 comment added Kai It's available for download on npm (npmjs.com/package/milsymbol). Alternatively, you could build it yourself by cloning the repo and running one of the build scripts. It looks like there's an AMD build script (github.com/spatialillusions/milsymbol/blob/master/…) that should allow you to require the built package directly into your code.
Oct 3, 2019 at 5:58 comment added Jerry Chen Thank you for your reply, now I know I have the wrong file. I've been looking for the dist version of the file but with no result. Do you know any way to get the dist version? Thanks so much!
Oct 3, 2019 at 4:31 history answered Kai CC BY-SA 4.0