[英]How to write a JS lib?
I am looking for good practice or pattern to write a lib in JS. 我正在寻找好的实践或模式来用JS编写lib。 I would like to get good reference on how to write.
我想获得有关如何编写的很好的参考。 Or pattern to follow.
或遵循的模式。
I've just write a lib, but seems to be not good code. 我只是写了一个lib,但似乎不是很好的代码。 So, I am looking for doc in relation to.
因此,我正在寻找有关的文档。
On dailyJS , there is excellent series on how to create a javascript framework, check it out: 在dailyJS上 ,有许多关于如何创建JavaScript框架的优秀文章,请查看:
The features along with tutorials you will be going to learn include: 您将要学习的功能以及教程包括:
And here is the result of that great tutorial series, "turningjs" framework 这是这个很棒的教程系列“ turningjs”框架的结果
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.