Remove jasmine.util.extend
This commit is contained in:
@@ -48,9 +48,9 @@
|
||||
};
|
||||
|
||||
if (typeof window == "undefined" && typeof exports == "object") {
|
||||
jasmine.util.extend(exports, jasmineInterface);
|
||||
extend(exports, jasmineInterface);
|
||||
} else {
|
||||
jasmine.util.extend(window, jasmineInterface);
|
||||
extend(window, jasmineInterface);
|
||||
}
|
||||
|
||||
var htmlReporter = new jasmine.HtmlReporter(null, jasmine, env);
|
||||
@@ -71,4 +71,9 @@
|
||||
env.execute();
|
||||
};
|
||||
|
||||
function extend(destination, source) {
|
||||
for (var property in source) destination[property] = source[property];
|
||||
return destination;
|
||||
}
|
||||
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user