aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMisko Hevery2012-01-18 13:49:38 -0800
committerMisko Hevery2012-01-25 11:46:34 -0800
commit135471836506c23eb6a3d8bd0ff09ae9d0a6cead (patch)
treeb3aae1627d4cda754c7ebcdef2c29cca6a9de3fa /lib
parent56bcc04c54ed24c19204f68de52b8c30c00e08f0 (diff)
downloadangular.js-135471836506c23eb6a3d8bd0ff09ae9d0a6cead.tar.bz2
chore(jasmine-adapter): upgrade
Diffstat (limited to 'lib')
-rw-r--r--lib/jasmine-jstd-adapter/JasmineAdapter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jasmine-jstd-adapter/JasmineAdapter.js b/lib/jasmine-jstd-adapter/JasmineAdapter.js
index ebf08ee4..8dee1ee1 100644
--- a/lib/jasmine-jstd-adapter/JasmineAdapter.js
+++ b/lib/jasmine-jstd-adapter/JasmineAdapter.js
@@ -134,7 +134,7 @@
window.describe(name, function(){
var oldIt = window.it;
window.it = function(name, fn){
- fn.exclusive = 1; // run anything under ddescribe
+ if (fn) fn.exclusive = 1; // run anything under ddescribe
oldIt(name, fn);
};
try {