bcgov / bcgov/Gov-2.0-Bootstrap-Skeleton

CDN call to JQuery - necessary?

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
9
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I see that although the bootstrap library is made local to the project (/js/bootstrap.js and /js/bootstrap.min.js), the same is not true of the JQuery library. The sample HTML are calling the JQuery library from a CDN (https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js).

It's easy enough to call JQuery from a local location per project or per organization, but I wonder if there is a particular reason for this? This won't be acceptable for production code.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the sample HTML that references https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js and compare it with the local Bootstrap files at /js/bootstrap.js and /js/bootstrap.min.js. Determine whether the project has a local jQuery location or a documented reason for the CDN, then make the dependency handling consistent or document the reason clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, html, jquery
Domain
frontend, web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.