diff options
author | Mike Pennisi <mike@mikepennisi.com> | 2015-06-26 12:34:04 -0400 |
---|---|---|
committer | Mike Pennisi <mike@mikepennisi.com> | 2015-06-26 12:34:04 -0400 |
commit | f8e18ccd76d0f9af8721f55c9b2b1a8e7582cf18 (patch) | |
tree | 56d74fbc97333314faedd60e470ef465187cb542 /harness | |
parent | afd6450bd2e9cd7607fa3327242e57592ce6e23c (diff) | |
download | qtdeclarative-testsuites-f8e18ccd76d0f9af8721f55c9b2b1a8e7582cf18.tar.gz |
Remove unnecessary "include" file
The `fnExists` function defines a generic way to determine if any number
of values are function instances. Because it is only used by a single
test, the additional complexity required by the generalized code (and
the organizational drawbacks to maintaining another "include" file) are
not justified. Remove the file and update the test to assert the
function's existence directly.
Diffstat (limited to 'harness')
-rw-r--r-- | harness/fnExists.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/harness/fnExists.js b/harness/fnExists.js deleted file mode 100644 index 1f283b45d..000000000 --- a/harness/fnExists.js +++ /dev/null @@ -1,7 +0,0 @@ -//----------------------------------------------------------------------------- -function fnExists(/*arguments*/) { - for (var i = 0; i < arguments.length; i++) { - if (typeof (arguments[i]) !== "function") return false; - } - return true; -} |