Removed constructors from jsdocs of classes that aren't user-constructable
This commit is contained in:
@@ -979,11 +979,12 @@ getJasmineRequireObj().Order = function() {
|
|||||||
|
|
||||||
getJasmineRequireObj().Env = function(j$) {
|
getJasmineRequireObj().Env = function(j$) {
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, Jasmine will make one during booting.
|
* @class Env
|
||||||
* @name Env
|
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
* @classdesc The Jasmine environment
|
* @classdesc The Jasmine environment.<br>
|
||||||
* @constructor
|
* _Note:_ Do not construct this directly. You can obtain the Env instance by
|
||||||
|
* calling {@link jasmine.getEnv}.
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Env(options) {
|
function Env(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
@@ -3165,9 +3166,11 @@ getJasmineRequireObj().Clock = function() {
|
|||||||
typeof process.versions.node === 'string';
|
typeof process.versions.node === 'string';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, Jasmine will make one during booting. You can get the current clock with {@link jasmine.clock}.
|
|
||||||
* @class Clock
|
* @class Clock
|
||||||
* @classdesc Jasmine's mock clock is used when testing time dependent code.
|
* @classdesc Jasmine's mock clock is used when testing time dependent code.<br>
|
||||||
|
* _Note:_ Do not construct this directly. You can get the current clock with
|
||||||
|
* {@link jasmine.clock}.
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Clock(global, delayedFunctionSchedulerFactory, mockDate) {
|
function Clock(global, delayedFunctionSchedulerFactory, mockDate) {
|
||||||
var self = this,
|
var self = this,
|
||||||
@@ -4734,11 +4737,11 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
|
|||||||
// TODO: convert all uses of j$.pp to use the injected pp
|
// TODO: convert all uses of j$.pp to use the injected pp
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @class MatchersUtil
|
||||||
|
* @classdesc Utilities for use in implementing matchers.<br>
|
||||||
* _Note:_ Do not construct this directly. Jasmine will construct one and
|
* _Note:_ Do not construct this directly. Jasmine will construct one and
|
||||||
* pass it to matchers and asymmetric equality testers.
|
* pass it to matchers and asymmetric equality testers.
|
||||||
* @name MatchersUtil
|
* @hideconstructor
|
||||||
* @classdesc Utilities for use in implementing matchers
|
|
||||||
* @constructor
|
|
||||||
*/
|
*/
|
||||||
function MatchersUtil(options) {
|
function MatchersUtil(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
@@ -8291,9 +8294,11 @@ getJasmineRequireObj().Spy = function(j$) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, use {@link spyOn}, {@link spyOnProperty}, {@link jasmine.createSpy}, or {@link jasmine.createSpyObj}
|
* @classdesc _Note:_ Do not construct this directly. Use {@link spyOn},
|
||||||
* @constructor
|
* {@link spyOnProperty}, {@link jasmine.createSpy}, or
|
||||||
* @name Spy
|
* {@link jasmine.createSpyObj} instead.
|
||||||
|
* @class Spy
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Spy(
|
function Spy(
|
||||||
name,
|
name,
|
||||||
|
|||||||
@@ -6,9 +6,11 @@ getJasmineRequireObj().Clock = function() {
|
|||||||
typeof process.versions.node === 'string';
|
typeof process.versions.node === 'string';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, Jasmine will make one during booting. You can get the current clock with {@link jasmine.clock}.
|
|
||||||
* @class Clock
|
* @class Clock
|
||||||
* @classdesc Jasmine's mock clock is used when testing time dependent code.
|
* @classdesc Jasmine's mock clock is used when testing time dependent code.<br>
|
||||||
|
* _Note:_ Do not construct this directly. You can get the current clock with
|
||||||
|
* {@link jasmine.clock}.
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Clock(global, delayedFunctionSchedulerFactory, mockDate) {
|
function Clock(global, delayedFunctionSchedulerFactory, mockDate) {
|
||||||
var self = this,
|
var self = this,
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
getJasmineRequireObj().Env = function(j$) {
|
getJasmineRequireObj().Env = function(j$) {
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, Jasmine will make one during booting.
|
* @class Env
|
||||||
* @name Env
|
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
* @classdesc The Jasmine environment
|
* @classdesc The Jasmine environment.<br>
|
||||||
* @constructor
|
* _Note:_ Do not construct this directly. You can obtain the Env instance by
|
||||||
|
* calling {@link jasmine.getEnv}.
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Env(options) {
|
function Env(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|||||||
@@ -13,9 +13,11 @@ getJasmineRequireObj().Spy = function(j$) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* _Note:_ Do not construct this directly, use {@link spyOn}, {@link spyOnProperty}, {@link jasmine.createSpy}, or {@link jasmine.createSpyObj}
|
* @classdesc _Note:_ Do not construct this directly. Use {@link spyOn},
|
||||||
* @constructor
|
* {@link spyOnProperty}, {@link jasmine.createSpy}, or
|
||||||
* @name Spy
|
* {@link jasmine.createSpyObj} instead.
|
||||||
|
* @class Spy
|
||||||
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function Spy(
|
function Spy(
|
||||||
name,
|
name,
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
|
|||||||
// TODO: convert all uses of j$.pp to use the injected pp
|
// TODO: convert all uses of j$.pp to use the injected pp
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @class MatchersUtil
|
||||||
|
* @classdesc Utilities for use in implementing matchers.<br>
|
||||||
* _Note:_ Do not construct this directly. Jasmine will construct one and
|
* _Note:_ Do not construct this directly. Jasmine will construct one and
|
||||||
* pass it to matchers and asymmetric equality testers.
|
* pass it to matchers and asymmetric equality testers.
|
||||||
* @name MatchersUtil
|
* @hideconstructor
|
||||||
* @classdesc Utilities for use in implementing matchers
|
|
||||||
* @constructor
|
|
||||||
*/
|
*/
|
||||||
function MatchersUtil(options) {
|
function MatchersUtil(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|||||||
Reference in New Issue
Block a user