Skip to main content

Bug Tracker

Side navigation

Ticket #4905: core.patch
File core.patch, 0.4 KB (added by andr3a, July 15, 2009 11:45AM UTC)

patch to obtain sandbox compatibility

Index: core.js
===================================================================
--- core.js	(revision 6435)
+++ core.js	(working copy)
@@ -12,6 +12,9 @@
 	// Map over the $ in case of overwrite
 	_$ = window.$,
 
+    // Use the correct document accordingly with window argument (sandbox)
+    document = window.document,
+
 	// A central reference to the root jQuery(document)
 	rootjQuery,

Download in other formats:

Original Format