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

Commit

Permalink
Merge pull request #10463 from MarcelGerber/css-svg-hints-leak
Browse files Browse the repository at this point in the history
Fix memory leak in CSS & SVG Code Hints
  • Loading branch information
redmunds committed Jan 27, 2015
2 parents f1e2340 + 6e7ac50 commit ee71e73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/extensions/default/CSSCodeHints/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ define(function (require, exports, module) {
$hintObj = ColorUtils.formatColorHint($hintObj, token.color);
}

$hintObj.data("token", token);

return $hintObj;
});
}
Expand Down
2 changes: 0 additions & 2 deletions src/extensions/default/SVGCodeHints/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ define(function (require, exports, module) {
$hintObj = ColorUtils.formatColorHint($hintObj, token.color);
}

$hintObj.data("token", token);

return $hintObj;
});
}
Expand Down

0 comments on commit ee71e73

Please sign in to comment.