From 06d8281f16e560ecea266b736ad1ebfd2967c49d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 25 Aug 2014 10:25:01 -0700 Subject: [PATCH] Add more bizarro `support` changes. --- test/index.html | 1 + test/test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/test/index.html b/test/index.html index f9a90d713..33dd387df 100644 --- a/test/index.html +++ b/test/index.html @@ -404,6 +404,7 @@ addBizarroMethods(); require(getConfig(), ['lodash'], function(lodash) { lodashBizarro = (lodash['default'] || lodash).noConflict(); + lodashBizarro.support.funcNames = !lodashBizarro.support.funcNames; delete requirejs.s.contexts._; removeBizarroMethods(); diff --git a/test/test.js b/test/test.js index 92c58a276..5cd966021 100644 --- a/test/test.js +++ b/test/test.js @@ -466,6 +466,7 @@ // load Lo-Dash and expose it to the bad extensions/shims lodashBizarro = (lodashBizarro = require(filePath))._ || lodashBizarro['default'] || lodashBizarro; + lodashBizarro.support.funcNames = !lodashBizarro.support.funcNames; // restore native methods setProperty(Array, 'isArray', _isArray);