jQuery API兼容的微框架(Zepto除外)? [英] jQuery API-compatible micro framework (other than Zepto)?

查看:55
本文介绍了jQuery API兼容的微框架(Zepto除外)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会在我的猫的坟墓上发誓,我刚刚在过去的几个星期里读过这样的事情,但我不能为我的生活现在找到它。我正在寻找一个涵盖基本DOM选择的最小框架(例如,包括Sizzle,因此它适用于IE6 - 因此Zepto不符合条件),操作和放大事件绑定,但省略其他一切。

I would swear on my cat's grave that I just read about such a thing in the last couple weeks, but I can't for the life of me find it now. I am looking for a minimal framework covering basic DOM selecting (e.g., including Sizzle, so it works with IE6 -- so Zepto doesn't qualify), manipulation & event binding, but omitting just about everything else.

我需要在一个非常古老的网站上添加一些非常简单的东西,我想使用jQuery兼容的语法,以防有一天它需要更多,但不想要为此添加90K的页面大小。我希望在这个项目上花费大约30分钟,所以我真的不想自己拼凑这些。假设我没有想象,有人知道我在想什么吗?

I need to add some very simple stuff to a VERY old web site and I want to use jQuery compatible syntax in case one day it needs more, but don't want to add 90K to the page size for this. I was hoping to spend approximately 30 minutes on this project, so I don't really want to cobble this together myself. Assuming I'm not imagining things, anyone know what I might be thinking of?

推荐答案

可能是 Midori 也许?

编辑:现在我记得还有 DOMAssistant ,应该支持Sizzle风格的选择器和IE 5.5 +。

Now that I remember there's also DOMAssistant, which is supposed to support Sizzle-style selectors and IE 5.5+.

这篇关于jQuery API兼容的微框架(Zepto除外)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆