Merge branch 'patch-1' of https://github.com/skupr/jasmine into skupr-patch-1

- Merges #1079 from @skupr
- Fixes #964
This commit is contained in:
Gregg Van Hove
2016-03-26 21:27:41 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
var getJasmineRequireObj = (function (jasmineGlobal) {
var jasmineRequire;
if (typeof module !== 'undefined' && module.exports) {
if (typeof module !== 'undefined' && module.exports && typeof exports !== 'undefined') {
if (typeof global !== 'undefined') {
jasmineGlobal = global;
} else {

View File

@@ -1,7 +1,7 @@
var getJasmineRequireObj = (function (jasmineGlobal) {
var jasmineRequire;
if (typeof module !== 'undefined' && module.exports) {
if (typeof module !== 'undefined' && module.exports && typeof exports !== 'undefined') {
if (typeof global !== 'undefined') {
jasmineGlobal = global;
} else {