| Index: remoting/webapp/js_proto/qunit_proto.js
|
| diff --git a/remoting/webapp/js_proto/qunit_proto.js b/remoting/webapp/js_proto/qunit_proto.js
|
| index 8eb96452f3a29176ff3393156f14a0fbad227fb6..a3746d455bc6ec8eb6d6ba9531986994eee833c7 100644
|
| --- a/remoting/webapp/js_proto/qunit_proto.js
|
| +++ b/remoting/webapp/js_proto/qunit_proto.js
|
| @@ -72,7 +72,7 @@ QUnit.start = function() {};
|
|
|
| /**
|
| * @param {string} desc
|
| - * @param {Function} f
|
| + * @param {function(!QUnit.Assert)} f
|
| */
|
| QUnit.test = function(desc, f) {};
|
|
|
| @@ -87,8 +87,20 @@ QUnit.Assert = function() {};
|
| /**
|
| * @return {function():void}
|
| */
|
| -QUnit.Assert.prototype.async = function() {};
|
| +QUnit.Assert.prototype.async = function() {};
|
| +
|
| +// TODO(jrw): Make these the primary definitions.
|
| +QUnit.Assert.prototype.deepEqual = QUnit.deepEqual;
|
| +QUnit.Assert.prototype.equal = QUnit.equal;
|
| +QUnit.Assert.prototype.notEqual = QUnit.notEqual;
|
| +QUnit.Assert.prototype.ok = QUnit.ok;
|
| +
|
| +/**
|
| + * @const {!QUnit.Assert}
|
| + */
|
| +QUnit.assert;
|
|
|
| +// TODO(jrw): Mark these as deprecated.
|
| var deepEqual = QUnit.deepEqual;
|
| var equal = QUnit.equal;
|
| var expect = QUnit.expect;
|
|
|