Don't forget to buildDistribution

- Also fix jshint errors

[#59947350] #440
This commit is contained in:
Gregg Van Hove
2015-01-12 14:10:50 -08:00
parent a999490de9
commit 69a61547e7
2 changed files with 33 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ getJasmineRequireObj().ArrayContaining = function(j$) {
ArrayContaining.prototype.asymmetricMatch = function(other) {
var className = Object.prototype.toString.call(this.sample);
if (className !== "[object Array]") { throw new Error("You must provide an array to arrayContaining, not '" + this.sample + "'."); }
if (className !== '[object Array]') { throw new Error('You must provide an array to arrayContaining, not \'' + this.sample + '\'.'); }
for (var i = 0; i < this.sample.length; i++) {
var item = this.sample[i];
@@ -18,7 +18,7 @@ getJasmineRequireObj().ArrayContaining = function(j$) {
};
ArrayContaining.prototype.jasmineToString = function () {
return "<jasmine.arrayContaining(" + jasmine.pp(this.sample) +")>";
return '<jasmine.arrayContaining(' + jasmine.pp(this.sample) +')>';
};
return ArrayContaining;