Is it possible to create a namespace in jQuery?

后端 未结 8 914
星月不相逢
星月不相逢 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:10

    All credit to @Diego Fluery, I just took his slide deck and made a runnable code prototype, but it might save you a few minutes if you go this route:

    
    
    
    
    
    
    
    
    
    

提交回复
热议问题