Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 5d6cfe9

Browse files
committed
fix typo; undocument unused param
1 parent a301e8c commit 5d6cfe9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/extensions/default/CSSShapesEditor/LiveEditorLocalDriver.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ define(function (require, exports, module) {
112112
return deferred.reject().promise();
113113
}
114114

115-
_cache.model = undefined; // do not move in _reset(), otherwhise the _reconnect() scenario misses the cache and fails
115+
_cache.model = undefined; // do not move in _reset(), otherwise the _reconnect() scenario misses the cache and fails
116116
_reset();
117117
var expr = _namespace + ".remove()";
118118
return _call(expr);
@@ -164,10 +164,8 @@ define(function (require, exports, module) {
164164
*
165165
* Promises also fail because of errors thrown in the remote page.
166166
* If this is the case, remove the editor.
167-
*
168-
* @param {$.Deferred=} result
169167
*/
170-
function _whenRemoteCallFailed(result) {
168+
function _whenRemoteCallFailed() {
171169
// check if the remote editor namespace is still defined on the page
172170
_call(_namespace)
173171
.then(function (response) {

0 commit comments

Comments
 (0)