Answer the question
In order to leave comments, you need to log in
How to organize Javascript plugin code in multiple files?
Hello, for the first time I am writing a full-fledged js-component for displaying data in the form of a table and a chart. The code is divided into several files:
Answer the question
In order to leave comments, you need to log in
Create a prototype that will be the main class of the library, and include everything you need to work in it.
https://learn.javascript.ru/prototype
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question