Kevin Locke 26f0f6f213 Don't assume exports is defined when window is undefined
The current code makes the assumption that if window is undefined it is
being run in an environment which supports the CommonJS Modules spec.
This is not the case when Jasmine is being run in rhino or SpiderMonkey
(smjs) without EnvJS.

The fix is simply to check that exports is an object.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2012-12-03 15:40:00 -08:00
2011-05-06 22:40:53 -04:00
2011-11-04 14:43:19 -07:00
2011-02-27 14:00:45 -08:00
2011-11-04 14:43:19 -07:00
2011-03-09 08:16:47 -08:00
2012-05-09 09:51:29 -07:00

Jasmine

A JavaScript Testing Framework

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

Documentation & guides live here: http://pivotal.github.com/jasmine/

Support

Maintainers

Copyright (c) 2008-2012 Pivotal Labs. This software is licensed under the MIT License.

Description
No description provided
Readme 68 GiB
Languages
JavaScript 94.8%
TypeScript 2.4%
Vue 1.1%
CSS 0.9%
SCSS 0.5%
Other 0.2%