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

Commit

Permalink
Fix memory leak in CSS & SVG Code Hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gerber committed Jan 25, 2015
1 parent f1e2340 commit 6e7ac50
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 6e7ac50

Please sign in to comment.