{"id":113517,"date":"2018-08-07T08:11:50","date_gmt":"2018-08-07T00:11:50","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=113517"},"modified":"2018-07-27T10:12:48","modified_gmt":"2018-07-27T02:12:48","slug":"github-remove-jquery","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/github-remove-jquery.html","title":{"rendered":"GitHub \u6539\u7248\uff0c\u91cd\u6784\u9875\u9762\u79fb\u9664\u4e86 jQuery\uff1f"},"content":{"rendered":"
\u559c\u6b22\u7684\u5f00\u6e90\u7684\u540c\u5b66\u80af\u5b9a\u4f1a\u6ce8\u610f\u5230\u6700\u8fd1 GitHub \u7684\u6539\u7248\uff0c\u4e0d\u77e5\u9053\u5927\u5bb6\u662f\u5426\u4e60\u60ef\u65b0\u7684 Dashboard \u5462\uff1f
\n\u9664\u4e86\u754c\u9762\u7684\u4fee\u6539\uff0cGitHub \u7684\u524d\u7aef\u56e2\u961f\u8fd8\u4e58\u673a\u79fb\u9664\u4e86\u9875\u9762\u4e2d\u7684 jQuery\uff1a
\n
\n\u503c\u5f97\u4e00\u63d0\u7684\u662f\uff0cGitHub \u524d\u7aef\u56e2\u961f\u5e76\u672a\u4f7f\u7528\u5176\u5b83\u6846\u67b6\u6765\u4ee3\u66ff jQuery\uff0c\u800c\u662f\u4f7f\u7528\u539f\u751f JS\uff1a<\/p>\n
\u4ed6\u4eec\u628a\u5176\u4e2d\u7684\u4e00\u4e9b\u6210\u679c\u4e5f\u5728 GitHub \u4e0a\u5f00\u6e90\u4e86\uff1a<\/p>\n
Fetch polyfill: https:\/\/github.com\/github\/fetch<\/p>\n
Delegated events: https:\/\/github.com\/dgraham\/delegated-events<\/p>\n
Custom Elements: https:\/\/github.com\/search?q=topic%3Aweb-components+org%3Agithub<\/p>\n
jQuery \u66fe\u98ce\u9761\u4e00\u4e2a\u65f6\u4ee3\uff0c\u5927\u5927\u964d\u4f4e\u4e86\u524d\u7aef\u5f00\u53d1\u7684\u95e8\u69db\uff0c\u4e30\u5bcc\u7684\u63d2\u4ef6\u4e5f\u662f\u524d\u7aef\u5f00\u53d1\u8005\u5f97\u5fc3\u5e94\u624b\u7684\u6b66\u5668\u5e93\uff0c\u4f46\u662f\uff0c\u8fd9\u4e2a\u65f6\u4ee3\u7ec8\u4e8e\u8981\u843d\u5e55\u4e86\u3002\u968f\u7740 JS \u6807\u51c6\u548c\u6d4f\u89c8\u5668\u7684\u8fdb\u6b65\uff0cjQuery \u7684\u5f88\u591a\u7cbe\u534e\u88ab\u539f\u751f JS \u5438\u6536\uff0c\u6211\u4eec\u76f4\u63a5\u4f7f\u7528\u539f\u751f API \u5c31\u53ef\u4ee5\u7528\u7c7b\u4f3c\u624b\u6cd5\u6765\u5904\u7406\u4ee5\u524d\u9700\u8981 jQuery \u7684\u95ee\u9898\u3002\u5728\u65b0\u7684 Web \u9879\u76ee\u4e2d\uff0c\u5982\u679c\u4e0d\u9700\u8981\u652f\u6301\u8fc7\u4e8e\u9648\u65e7\u7684\u6d4f\u89c8\u5668\u7248\u672c\uff0c\u90a3\u4e48\u7684\u786e\u6ca1\u6709\u5fc5\u8981\u4f7f\u7528 jQuery\u3002<\/p>\n
\u4f46\u662f\uff0c\u50cf GitHub \u8fd9\u6837\u91cd\u6784\u6389 jQuery \u6709\u5fc5\u8981\u5417\uff1f<\/p>\n
\u5230\u5e95\u8981\u4e0d\u8981\u91cd\u6784\u6389 jQuery\uff1f<\/p>\n
\u5728\u5fae\u535a\u4e0a\uff0c\u6709\u4eba\u6307\u51fa\u5176\u5b9e\u6ca1\u5fc5\u8981\u5bf9\u65e7\u9879\u76ee\u8fdb\u884c\u5927\u6539\uff1a
\n<\/p>\n
\u5bf9\u4e8e\u6ca1\u6709\u66f4\u591a\u9700\u6c42\u7684\u9879\u76ee\uff0c\u7684\u786e\u6ca1\u6709\u5fc5\u8981\u5927\u52a8\u5e72\u6208\uff0c\u4f46\u662f\uff0cGitHub \u662f\u4e00\u4e2a\u4ecd\u5728\u7ee7\u7eed\u8fed\u4ee3\uff0c\u4e0d\u65ad\u6709\u65b0\u529f\u80fd\u6a21\u5757\u63a8\u51fa\u7684\u5927\u578b\u9879\u76ee\u3002\u901a\u8fc7\u6539\u7248\u7684\u673a\u4f1a\u8fdb\u884c\u91cd\u6784\u3001\u5207\u6362\u6280\u672f\u6808\uff0c\u662f\u76ee\u524d\u4e92\u8054\u7f51\u884c\u4e1a\u6bd4\u8f83\u901a\u5e38\u7684\u505a\u6cd5\u3002<\/p>\n
\u5728\u91cd\u6784\u7684\u8fc7\u7a0b\u4e2d\u5f53\u7136\u4f1a\u5f15\u5165\u65b0\u7684\u95ee\u9898\uff0c\u4f46\u5982\u679c\u6bd4\u8f83\u4e00\u4e0b\u6536\u76ca\uff0c\u6bd4\u5982\u7ec4\u4ef6\u5316\u3001\u5de5\u7a0b\u5316\u7684\u5f15\u5165\uff0c\u5bf9\u540e\u7eed\u7ef4\u62a4\u3001\u6301\u7eed\u7684\u7528\u6237\u4f53\u9a8c\u4f18\u5316\u5e26\u6765\u7684\u597d\u5904\uff0c\u8fd8\u662f\u503c\u5f97\u8fd9\u4e48\u505a\u7684\u3002<\/p>\n
\u6700\u540e\uff0cjQuery \u4e5f\u5e76\u4e0d\u662f\u4e0d\u80fd\u7528\u4e86\uff0c\u5b83\u4ecd\u7136\u662f\u5f00\u53d1\u524d\u7aef\u7f51\u9875\u7684\u4e00\u4e2a\u9009\u62e9\uff0c\u81f3\u4e8e\u5230\u5e95\u5982\u4f55\u6289\u62e9\uff0c\u5219\u8981\u770b\u5f53\u524d\u573a\u666f\u662f\u5426\u9002\u5408\u4e86\u3002<\/p>\n
\n\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/news.51cto.com\/art\/201807\/579820.htm<\/a><\/p>\n