csswizardry / csswizardry/Obs.js

unrestrict class changes and inline module requirements

Open
#10 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
709
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Currently, the default snippet must be inline and the head with <script type="module">

We should also allow it to be used to be called whenever, so we can get it for stats purposes
With this option, the window.obs will have its properties defined by evaluating on demand (time of script running)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions the default inline snippet, the module script head, and window.obs, but names no files or tests. Start by locating the snippet and the code that defines window.obs; determine how on-demand evaluation should be triggered. Done means class and inline-module restrictions are removed and properties are evaluated when requested for statistics.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.