Remove QJSValue::isFunction() function
authorKent Hansen <kent.hansen@nokia.com>
Fri, 20 Jan 2012 06:08:08 +0000 (07:08 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 11:07:13 +0000 (12:07 +0100)
commitfe6173c580ea58529d3b784c8396eabe3a394e85
tree2df3103e37dc4ea1852e4fea73baa6f4157870b2
parent9e7e0c16fc5a84a6af3e8027d48dc167c0e7d583
Remove QJSValue::isFunction() function

Rationale: QJSValue::isCallable() should be used instead. There is no
compelling reason to be able to distinguish between JS Function
instances and other callable objects.

Task-number: QTBUG-23604
Change-Id: Ieef6b32030ef70f54081035fd4ffc3c17c184cd3
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
src/declarative/qml/v8/qjsvalue.cpp
src/declarative/qml/v8/qjsvalue.h