Remove isFunction fallback from modern builds

Former-commit-id: 21f51b3041b60136bb07ca775abfe91df7687639
This commit is contained in:
John-David Dalton
2013-02-23 19:07:19 -08:00
parent e2acbee113
commit 251e228ce4
3 changed files with 54 additions and 46 deletions

6
dist/lodash.js vendored
View File

@@ -1548,12 +1548,6 @@
function isFunction(value) {
return typeof value == 'function';
}
// fallback for older versions of Chrome and Safari
if (isFunction(/x/)) {
isFunction = function(value) {
return value instanceof Function || toString.call(value) == funcClass;
};
}
/**
* Checks if `value` is the language type of Object.