]> source.dussan.org Git - jquery.git/commitdiff
Fix #12777. Add applet to non-cacheable fragment types.
authorDave Methvin <dave.methvin@gmail.com>
Mon, 12 Nov 2012 03:49:17 +0000 (22:49 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 13 Nov 2012 15:30:25 +0000 (10:30 -0500)
I don't want to add a unit test that creates a dependency on an applet.

src/manipulation.js

index 55fe524574d8224a7cb222b51a34eb648fa82133..b6dd6f086285ef5e3fe66d8e3f39ebcf7f63d439 100644 (file)
@@ -21,7 +21,7 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
        rtbody = /<tbody/i,
        rhtml = /<|&#?\w+;/,
        rnoInnerhtml = /<(?:script|style|link)/i,
-       rnocache = /<(?:script|object|embed|option|style)/i,
+       rnocache = /<(?:script|object|embed|applet|option|style)/i,
        rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
        rcheckableType = /^(?:checkbox|radio)$/,
        // checked="checked" or checked