]> source.dussan.org Git - jquery.git/commitdiff
Use now() in support.js instead of getTime.
authorjeresig <jeresig@gmail.com>
Thu, 3 Dec 2009 18:59:19 +0000 (13:59 -0500)
committerjeresig <jeresig@gmail.com>
Thu, 3 Dec 2009 18:59:19 +0000 (13:59 -0500)
src/support.js

index 332839df87f3560ccb4292fad17d3e9a21945160..5fa45d230a7673d033f4171dd3dbb8dfeaa1c169 100644 (file)
@@ -5,7 +5,7 @@
        var root = document.documentElement,
                script = document.createElement("script"),
                div = document.createElement("div"),
-               id = "script" + (new Date).getTime();
+               id = "script" + now();
 
        div.style.display = "none";
        div.innerHTML = '   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.55;">a</a><select><option>text</option></select>';