Chromium Code Reviews| Index: remoting/webapp/js_proto/dom_proto.js |
| diff --git a/remoting/webapp/js_proto/dom_proto.js b/remoting/webapp/js_proto/dom_proto.js |
| index d7f475d244359d157071e95b7087dcc105d4b671..b8b19ff0b5f08b984d51a879ebff33c747c939aa 100644 |
| --- a/remoting/webapp/js_proto/dom_proto.js |
| +++ b/remoting/webapp/js_proto/dom_proto.js |
| @@ -185,7 +185,7 @@ var Promise = function (init) {}; |
| /** |
| * @param {function(*=) : (Promise|void)} onFulfill |
| - * @param {function(*=) : (Promise|void)} onReject |
| + * @param {function(*=) : (Promise|void)=} onReject |
|
Jamie
2014/08/13 01:44:53
This doesn't belong in this CL. I'm surprised that
kelvinp
2014/08/13 23:44:11
JSCompile will complain without this change.
Most
|
| * @return {Promise} |
| */ |
| Promise.prototype.then = function (onFulfill, onReject) {}; |