Skip to content

Instantly share code, notes, and snippets.

@rmax
Created February 18, 2011 19:43
Show Gist options
  • Save rmax/834278 to your computer and use it in GitHub Desktop.
Save rmax/834278 to your computer and use it in GitHub Desktop.
(pyall)rolando@atlantis:~/src/jquery/src$ grep IE *.js
ajax.js: rheaders = /^(.*?):\s*(.*?)\r?$/mg, // IE leaves an \r character at EOL
ajax.js:// #8138, IE may throw an exception when accessing
ajax.js: // since IE will modify it given document.location
ajax.js: // to avoid any 'Permission Denied' errors in IE
ajax.js: // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
attributes.js: // Fixes Bug #2551 -- select.val() broken in IE after form.reset()
attributes.js: // We can't allow the type property to be changed (since it causes problems in IE)
attributes.js: // convert the value to a string (all browsers do this but IE) see #1070
attributes.js: // Some attributes require a special call on IE
core.js: // Handle the case where IE and Opera return items
core.js: // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
core.js: // If IE event model is used
core.js: // If IE and not a frame
core.js: // aren't supported. They return false on IE (#2968).
core.js: // Because of IE, we also have to check the presence of the constructor property.
core.js: // Make sure leading/trailing whitespace is removed (IE can't handle it)
core.js: } else { // IE
core.js: // Use insertBefore instead of appendChild to circumvent an IE6 bug.
core.js:// IE doesn't match non-breaking spaces with \s
core.js: // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
core.js: // If IE is used, use the trick by Diego Perini
core.js: // http://javascript.nwbox.com/IEContentLoaded/
css.js: // Wrapped to prevent IE from throwing errors when 'invalid' values are provided
css.js: // IE uses filters for opacity
css.js: // IE has trouble with opacity if it does not have layout
data.js: // We have to handle DOM nodes and JS objects differently because IE6-7
data.js: // IE does not allow us to delete expando properties from nodes,
effects.js: // Record all 3 overflow attributes because IE does not
event.js: // For whatever reason, IE has trouble passing the window object
event.js: // This is to prevent a memory leak with non-native events in IE.
event.js: // Nullify elem to prevent memory leaks in IE
event.js: // prevent IE from throwing an error for some elements with some event types, see #3533
event.js: // prevent IE from throwing an error for some elements with some event types, see #3533
event.js: // otherwise set the returnValue property of the original event to false (IE)
event.js: // otherwise set the cancelBubble property of the original event to true (IE)
event.js: // Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#6911)
manipulation.js:// IE can't serialize <link> and <script> tags normally
manipulation.js: // IE6-8 fail to clone children inside object elements that use
manipulation.js: // IE6-8 fails to persist the checked state of a cloned checkbox
manipulation.js: // or radio button. Worse, IE6-7 fail to give the cloned element
manipulation.js: // IE6-7 get confused and end up setting the value of a cloned
manipulation.js: // IE6-8 fails to return the selected option to the default selected
manipulation.js: // IE6-8 fails to set the defaultValue to the correct value when
manipulation.js: // IE 6 doesn't like it when you put <object> or <embed> elements in a fragment
manipulation.js: // IE copies events bound via attachEvent when using cloneNode.
manipulation.js: // Weird iteration because IE will replace the length property
manipulation.js: // !context.createElement fails in IE with an error but returns typeof 'object'
manipulation.js: // Remove IE's autoinserted <tbody> from table fragments
manipulation.js: // IE completely kills leading whitespace when innerHTML is used
manipulation.js: // Null the DOM reference to avoid IE6/7/8 leak (#7054)
support.js: // IE strips leading whitespace when .innerHTML is used
support.js: // IE will insert them into empty tables
support.js: // This requires a wrapper element in IE
support.js: // (IE uses .cssText insted)
support.js: // (IE normalizes it by default)
support.js: // (IE uses filter instead)
support.js: // (IE uses styleFloat instead of cssFloat)
support.js: // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
support.js: // (IE doesn't support this, fails, and uses .text instead)
support.js: // release memory in IE
support.js: // bound event handlers (IE does this)
support.js: // (IE < 8 does this)
support.js: // (IE 6 does this)
support.js: // (only IE 8 fails this test)
support.js: // (IE < 8 fail this test)
support.js: // are used, namely in IE. Short-circuiting here helps us to
support.js: // release memory in IE
(pyall)rolando@atlantis:~/src/jquery/src$ egrep -i -e 'firefox|chrome' *.js
event.js: // timeStamp is buggy for some events on Firefox(#3843)
event.js: // Firefox sometimes assigns relatedTarget a XUL element
event.js: // Chrome does something similar, the parentNode property
event.js: // Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#6911)
traversing.js: // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment