Cleanup: whitespace
This commit is contained in:
@@ -64,7 +64,7 @@ getJasmineRequireObj().CallTracker = function(j$) {
|
|||||||
*/
|
*/
|
||||||
this.allArgs = function() {
|
this.allArgs = function() {
|
||||||
var callArgs = [];
|
var callArgs = [];
|
||||||
for(var i = 0; i < calls.length; i++){
|
for(var i = 0; i < calls.length; i++) {
|
||||||
callArgs.push(calls[i].args);
|
callArgs.push(calls[i].args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ getJasmineRequireObj().Expector = function(j$) {
|
|||||||
this.util = options.util || { buildFailureMessage: function() {} };
|
this.util = options.util || { buildFailureMessage: function() {} };
|
||||||
this.customEqualityTesters = options.customEqualityTesters || [];
|
this.customEqualityTesters = options.customEqualityTesters || [];
|
||||||
this.actual = options.actual;
|
this.actual = options.actual;
|
||||||
this.addExpectationResult = options.addExpectationResult || function(){};
|
this.addExpectationResult = options.addExpectationResult || function() {};
|
||||||
this.filters = new j$.ExpectationFilterChain();
|
this.filters = new j$.ExpectationFilterChain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ getJasmineRequireObj().MockDate = function() {
|
|||||||
FakeDate.parse = GlobalDate.parse;
|
FakeDate.parse = GlobalDate.parse;
|
||||||
FakeDate.UTC = GlobalDate.UTC;
|
FakeDate.UTC = GlobalDate.UTC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return MockDate;
|
return MockDate;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ getJasmineRequireObj().pp = function(j$) {
|
|||||||
}
|
}
|
||||||
this.format(array[i]);
|
this.format(array[i]);
|
||||||
}
|
}
|
||||||
if(array.length > length){
|
if(array.length > length) {
|
||||||
this.append(', ...');
|
this.append(', ...');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ getJasmineRequireObj().pp = function(j$) {
|
|||||||
|
|
||||||
i++;
|
i++;
|
||||||
}, this );
|
}, this );
|
||||||
if (set.size > size){
|
if (set.size > size) {
|
||||||
this.append(', ...');
|
this.append(', ...');
|
||||||
}
|
}
|
||||||
this.append(' )');
|
this.append(' )');
|
||||||
@@ -178,7 +178,7 @@ getJasmineRequireObj().pp = function(j$) {
|
|||||||
|
|
||||||
i++;
|
i++;
|
||||||
}, this );
|
}, this );
|
||||||
if (map.size > size){
|
if (map.size > size) {
|
||||||
this.append(', ...');
|
this.append(', ...');
|
||||||
}
|
}
|
||||||
this.append(' )');
|
this.append(' )');
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
|
|||||||
this.queueableFns = queueableFns.concat(attrs.cleanupFns || []);
|
this.queueableFns = queueableFns.concat(attrs.cleanupFns || []);
|
||||||
this.firstCleanupIx = queueableFns.length;
|
this.firstCleanupIx = queueableFns.length;
|
||||||
this.onComplete = attrs.onComplete || emptyFn;
|
this.onComplete = attrs.onComplete || emptyFn;
|
||||||
this.clearStack = attrs.clearStack || function(fn) {fn();};
|
this.clearStack = attrs.clearStack || function(fn) { fn(); };
|
||||||
this.onException = attrs.onException || emptyFn;
|
this.onException = attrs.onException || emptyFn;
|
||||||
this.userContext = attrs.userContext || new j$.UserContext();
|
this.userContext = attrs.userContext || new j$.UserContext();
|
||||||
this.timeout = attrs.timeout || {setTimeout: setTimeout, clearTimeout: clearTimeout};
|
this.timeout = attrs.timeout || {setTimeout: setTimeout, clearTimeout: clearTimeout};
|
||||||
|
|||||||
@@ -104,6 +104,6 @@ getJasmineRequireObj().StackTrace = function(j$) {
|
|||||||
|
|
||||||
return messageLines.length;
|
return messageLines.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
return StackTrace;
|
return StackTrace;
|
||||||
};
|
};
|
||||||
|
|||||||
+4
-4
@@ -171,7 +171,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
|||||||
* @name jasmine.truthy
|
* @name jasmine.truthy
|
||||||
* @function
|
* @function
|
||||||
*/
|
*/
|
||||||
j$.truthy = function() {return new j$.Truthy();};
|
j$.truthy = function() { return new j$.Truthy(); };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
||||||
@@ -179,7 +179,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
|||||||
* @name jasmine.falsy
|
* @name jasmine.falsy
|
||||||
* @function
|
* @function
|
||||||
*/
|
*/
|
||||||
j$.falsy = function() {return new j$.Falsy();};
|
j$.falsy = function() { return new j$.Falsy(); };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
||||||
@@ -187,7 +187,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
|||||||
* @name jasmine.empty
|
* @name jasmine.empty
|
||||||
* @function
|
* @function
|
||||||
*/
|
*/
|
||||||
j$.empty = function() {return new j$.Empty();};
|
j$.empty = function() { return new j$.Empty(); };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
||||||
@@ -195,7 +195,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
|||||||
* @name jasmine.notEmpty
|
* @name jasmine.notEmpty
|
||||||
* @function
|
* @function
|
||||||
*/
|
*/
|
||||||
j$.notEmpty = function() {return new j$.NotEmpty();};
|
j$.notEmpty = function() { return new j$.NotEmpty(); };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
* Get a matcher, usable in any {@link matchers|matcher} that uses Jasmine's equality (e.g. {@link matchers#toEqual|toEqual}, {@link matchers#toContain|toContain}, or {@link matchers#toHaveBeenCalledWith|toHaveBeenCalledWith}),
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
console.error('Spec \'' + result.fullName + '\' has no expectations.');
|
console.error('Spec \'' + result.fullName + '\' has no expectations.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!symbols){
|
if (!symbols) {
|
||||||
symbols = find('.jasmine-symbol-summary');
|
symbols = find('.jasmine-symbol-summary');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user