Is it possible to create a namespace in jQuery?

后端 未结 8 960
星月不相逢
星月不相逢 2020-11-27 13:52

YUI has a nice way of creating a namespace for your methods etc. in javascript.

Does jQuery have anything similiar?

8条回答
  •  时光说笑
    2020-11-27 14:15

    jQuery has a bunch of plugins that extend the base functionality. There is this plugin for easy namespaces.

提交回复
热议问题