jamesplease / jamesplease/backbone.routing-v2

Revisit `History#checkUrl`

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Right now it sets `this.fragment` twice when there's an iframe. While this isn't the worst thing ever, maybe I can DRY that up.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the History#checkUrl method and compare its iframe and non-iframe paths. Confirm where this.fragment is assigned twice, then refactor that duplication while preserving the current routing behavior. Done means the method assigns the fragment without the repeated operation and existing behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.