define([
"../core",
"../var/rnotwhite",
- "../var/strundefined",
"../core/access",
"./support",
"./val",
"../selector"
-], function( jQuery, rnotwhite, strundefined, access, support ) {
+], function( jQuery, rnotwhite, access, support ) {
var nodeHook, boolHook,
attrHandle = jQuery.expr.attrHandle,
}
// Fallback to prop when attributes are not supported
- if ( typeof elem.getAttribute === strundefined ) {
+ if ( typeof elem.getAttribute === "undefined" ) {
return jQuery.prop( elem, name, value );
}
define([
"../core",
"../var/rnotwhite",
- "../var/strundefined",
"../core/init"
-], function( jQuery, rnotwhite, strundefined ) {
+], function( jQuery, rnotwhite ) {
var rclass = /[\t\r\n\f]/g;
}
// Toggle whole class name
- } else if ( type === strundefined || type === "boolean" ) {
+ } else if ( type === "undefined" || type === "boolean" ) {
if ( this.className ) {
// store className if set
jQuery._data( this, "__className__", this.className );
define([
- "../var/strundefined",
"../var/support"
-], function( strundefined, support ) {
+], function( support ) {
(function() {
var shrinkWrapBlocksVal;
// Support: IE6
// Check if elements with layout shrink-wrap their children
- if ( typeof div.style.zoom !== strundefined ) {
+ if ( typeof div.style.zoom !== "undefined" ) {
// Reset CSS: box-sizing; display; margin; border
div.style.cssText =
// Support: Firefox<29, Android 2.3
define([
"./core",
- "./var/strundefined",
"./var/rnotwhite",
"./var/hasOwn",
"./var/slice",
"./core/init",
"./data/accepts",
"./selector"
-], function( jQuery, strundefined, rnotwhite, hasOwn, slice, support ) {
+], function( jQuery, rnotwhite, hasOwn, slice, support ) {
var rformElems = /^(?:input|select|textarea)$/i,
rkeyEvent = /^key/,
eventHandle = elemData.handle = function( e ) {
// Discard the second event of a jQuery.event.trigger() and
// when an event is called after a page has unloaded
- return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
+ return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
undefined;
};
// #8545, #7054, preventing memory leaks for custom events in IE6-8
// detachEvent needed property on element, by name of that event,
// to properly expose it to GC
- if ( typeof elem[ name ] === strundefined ) {
+ if ( typeof elem[ name ] === "undefined" ) {
elem[ name ] = null;
}
define([
- "../core",
- "../var/strundefined"
-], function( jQuery, strundefined ) {
+ "../core"
+], function( jQuery ) {
var
// Map over jQuery in case of overwrite
// Expose jQuery and $ identifiers, even in
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
-if ( typeof noGlobal === strundefined ) {
+if ( typeof noGlobal === "undefined" ) {
window.jQuery = window.$ = jQuery;
}
define([
"./core",
- "./var/strundefined",
"./var/concat",
"./var/push",
"./var/deletedIds",
"./traversing",
"./selector",
"./event"
-], function( jQuery, strundefined, concat, push, deletedIds, access, rcheckableType, support ) {
+], function( jQuery, concat, push, deletedIds, access, rcheckableType, support ) {
function createSafeFragment( document ) {
var list = nodeNames.split( "|" ),
function getAll( context, tag ) {
var elems, elem,
i = 0,
- found = typeof context.getElementsByTagName !== strundefined ?
+ found = typeof context.getElementsByTagName !== "undefined" ?
context.getElementsByTagName( tag || "*" ) :
- typeof context.querySelectorAll !== strundefined ?
+ typeof context.querySelectorAll !== "undefined" ?
context.querySelectorAll( tag || "*" ) :
undefined;
if ( deleteExpando ) {
delete elem[ internalKey ];
- } else if ( typeof elem.removeAttribute !== strundefined ) {
+ } else if ( typeof elem.removeAttribute !== "undefined" ) {
elem.removeAttribute( internalKey );
} else {
define([
"./core",
- "./var/strundefined",
"./core/access",
"./css/var/rnumnonpx",
"./css/curCSS",
"./core/init",
"./css",
"./selector" // contains
-], function( jQuery, strundefined, access, rnumnonpx, curCSS, addGetHookIf, support ) {
+], function( jQuery, access, rnumnonpx, curCSS, addGetHookIf, support ) {
// BuildExclude
curCSS = curCSS.curCSS;
// If we don't have gBCR, just use 0,0 rather than error
// BlackBerry 5, iOS 3 (original iPhone)
- if ( typeof elem.getBoundingClientRect !== strundefined ) {
+ if ( typeof elem.getBoundingClientRect !== "undefined" ) {
box = elem.getBoundingClientRect();
}
win = getWindow( doc );
define([
"./core",
- "./var/strundefined",
"./var/support",
"./core/init", // Needed for hasOwn support test
// This is listed as a dependency for build order, but it's still optional in builds
"./core/ready"
-], function( jQuery, strundefined, support ) {
+], function( jQuery, support ) {
// Support: IE<9
// Iteration over object's inherited properties before its own
container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
body.appendChild( container ).appendChild( div );
- if ( typeof div.style.zoom !== strundefined ) {
+ if ( typeof div.style.zoom !== "undefined" ) {
// Support: IE<8
// Check if natively block-level elements act like inline-block
// elements when setting their display to 'inline' and giving
+++ /dev/null
-define(function() {
- return typeof undefined;
-});