Otherwise we would create an instance of this JS file for every delegate.
The only contextual object it uses is i18n, so pass that in for the function call.
Details
Details
- Reviewers
hein davidedmundson - Group Reviewers
Plasma - Commits
- R119:0d6792c4a7fc: Turn code.js into a singleton
Verified that the JS file is created only once. Speeds up things somewhat.
Verified that the favorites action still shows properly and works
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Lint Skipped - Unit
Unit Tests Skipped