bitovi / bitovi/jquerypp

Minified 2.0.2 throws error

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
help wanted p1
Dominant language
JavaScript
Stars
1.2k
Forks
155
PR merge metrics
No merged PRs in 30d

Description

When using `https://unpkg.com/jquerypp@2.0.2/dist/global/jquerypp.js`

I get this error:

```
jquerypp.min.js:12 Uncaught TypeError: Cannot read property 'fn' of undefined
at jquerypp.min.js:12
at global.define (jquerypp.min.js:10)
at jquerypp.min.js:12
```

I haven't had a chance to look into the error but using the non-minified works fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Load https://unpkg.com/jquerypp@2.0.2/dist/global/jquerypp.js and reproduce the failure in the minified build, then compare it with the non-minified version that works. Trace the jquerypp.min.js stack around global.define and the access to fn; done means the minified 2.0.2 build loads without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.