首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > importer.js——JavaScript进口大蟒蛇

importer.js——JavaScript进口大蟒蛇

  • 资源大小:2.29 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 进口

资 源 简 介

About importer.js is tiny javascript intended to solve a big problem in js -- problem with splitting large libraries into scripts. It also allows to use third-party scripts with minor changes. Requirements Any modern browser with XMLHttpRequest support. Also ECMAUnit required if you wish to run included unit tests. Example of use module.js ``` // export func1, func2 function func1() { alert("Ta-da! Function from module"); } var func2 = Import("another_module").func; ``` another\_module.js ``` // export func function func() { alert("Function from another module"); } ``` sample.html ```

文 件 列 表

importer
importer.js
tests
VIP VIP
0.195351s