From 2a3376d11eeb6eeafca0b084881148e8ccd4c21e Mon Sep 17 00:00:00 2001 From: Lee Byrd & Christian Williams Date: Tue, 22 Jun 2010 17:38:15 -0700 Subject: [PATCH] Removed deprecated jasmine.include(). Removed deprecated ExpectationResult.details. Removed deprecated Spec.getResults(). --- lib/jasmine-0.10.4.js | 97 ++----------------------------------------- src/Spec.js | 5 --- src/base.js | 28 ------------- 3 files changed, 3 insertions(+), 127 deletions(-) diff --git a/lib/jasmine-0.10.4.js b/lib/jasmine-0.10.4.js index a6f9b83..ef4c88e 100644 --- a/lib/jasmine-0.10.4.js +++ b/lib/jasmine-0.10.4.js @@ -85,9 +85,6 @@ jasmine.ExpectationResult = function(params) { this.expected = params.expected; this.actual = params.actual; - /** @deprecated */ - this.details = params.details; - this.message = this.passed_ ? 'Passed.' : params.message; this.trace = this.passed_ ? '' : new Error(this.message); }; @@ -577,31 +574,6 @@ jasmine.XmlHttpRequest = (typeof XMLHttpRequest == "undefined") ? function() { } throw new Error("This browser does not support XMLHttpRequest."); } : XMLHttpRequest; - -/** - * Adds suite files to an HTML document so that they are executed, thus adding them to the current - * Jasmine environment. - * - * @param {String} url path to the file to include - * @param {Boolean} opt_global - * @deprecated We suggest you use a different method of including JS source files. jasmine.include will be removed soon. - */ -jasmine.include = function(url, opt_global) { - if (opt_global) { - document.write('