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:
@@ -23,7 +23,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
var getJasmineRequireObj = (function (jasmineGlobal) {
|
var getJasmineRequireObj = (function (jasmineGlobal) {
|
||||||
var jasmineRequire;
|
var jasmineRequire;
|
||||||
|
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports && typeof exports !== 'undefined') {
|
||||||
if (typeof global !== 'undefined') {
|
if (typeof global !== 'undefined') {
|
||||||
jasmineGlobal = global;
|
jasmineGlobal = global;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
var getJasmineRequireObj = (function (jasmineGlobal) {
|
var getJasmineRequireObj = (function (jasmineGlobal) {
|
||||||
var jasmineRequire;
|
var jasmineRequire;
|
||||||
|
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports && typeof exports !== 'undefined') {
|
||||||
if (typeof global !== 'undefined') {
|
if (typeof global !== 'undefined') {
|
||||||
jasmineGlobal = global;
|
jasmineGlobal = global;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user