开发者

Feature detection within a jQuery plugin?

Is it possible to add somet开发者_如何学Gohing like Modernizr into your own plugin? I'd like to feature test for certain CSS3 properties without reinventing an already fantastic wheel.


Just make Modernizr a pre-requisite for your plugin. Some plugins require the jQuery cookie plugin, for example, to operate correctly. This is just a different form of this situation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜