Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dist/better-dom-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@

}(typeof window !== "undefined" ? window : this, document));

/*!
/**!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2015 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
Expand Down Expand Up @@ -1247,23 +1247,23 @@ var sortIgnoresNonFunctions = (function () {
[1, 2].sort(null);
[1, 2].sort({});
return true;
} catch (e) { /**/ }
} catch (e) { /* */ }
return false;
}());
var sortThrowsOnRegex = (function () {
// this is a problem in Firefox 4, in which `typeof /a/ === 'function'`
try {
[1, 2].sort(/a/);
return false;
} catch (e) { /**/ }
} catch (e) { /* */ }
return true;
}());
var sortIgnoresUndefined = (function () {
// applies in IE 8, for one.
try {
[1, 2].sort(undefined);
return true;
} catch (e) { /**/ }
} catch (e) { /* */ }
return false;
}());
defineProperties(ArrayPrototype, {
Expand Down