From 929bb44fa7cd06b955ed0586a04ed7345778aee4 Mon Sep 17 00:00:00 2001 From: Oliver Becker Date: Sun, 27 Oct 2013 17:02:02 +0100 Subject: [PATCH] fixed test for initRhinoTest function --- lib/less/rhino.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/rhino.js b/lib/less/rhino.js index 70531265..aea6731a 100644 --- a/lib/less/rhino.js +++ b/lib/less/rhino.js @@ -1,7 +1,7 @@ /*jshint rhino:true, unused: false */ /*global name:true, less, loadStyleSheet */ -if (initRhinoTest) { // definition of additional test functions (see rhino/test-header.js) +if (typeof initRhinoTest === 'function') { // definition of additional test functions (see rhino/test-header.js) initRhinoTest(); }