LivelyKernel / LivelyKernel/lively.morphic
Old code using inline methods
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Inline methods in code like
```js
createLabels(keys, values, tooltips = {}) {
return arr.zip(keys, values).map(([name, value]) => {
return {
type: "label",
value: name,
onMouseDown: () => { this.update(name, value); }
};
});
}
```
are not supported and will break serialization and synchronization. For instance specific behavior please consider using connect from a parent object that has a class or use object behavior defined via the object editor.
Code that still relies on that (style halos etc.) will be removed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for inline methods and code that relies on them, including style halos. Review the serialization and synchronization behavior described in the issue, then identify the remaining uses to remove or migrate; done means no unsupported inline-method usage remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100