Giter VIP home page Giter VIP logo

jquery's Introduction

jquery's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery's Issues

jquery.min.js is not actually minified!

Was just looking at my install of jquery to figure out the version (3.4.1, which is the latest, yeah!) but noticed it was not minimized.

I would submit a PR for this, but I don't really have a stack set up for JavaScript to do the min and create a correct map file. Anyway, you probably want to do it yourself to insure you have a legitimate version rather than trust a rando PR with a min version. Who knows what that would be.

Thanks for maintaining this repo. I use it my my PHP projects using composer, and this is is big help.

Bower lowercase "jquery" name now owned by the official jQuery repo

Hi!

Because of this update, I haven't been able to install this shim component of Jquery, even with the lowercase name "jquery".
I had to update my "bower.json" file with this
"jquery": "components/jquery#2.0.3"
instead of
jquery": "~2.0.0"
, then clean my Bower local cache, in order to install your jQuery version.

Have you planned to choose a more explicit Bower name for this "component" version of jQuery, like "component-jquery"? This would avoid this type of issue :-)

jQuery 1.12.0 released

Hi Guys,

The jQuery 1.12.0 was released, could we have a new branch for this version?

Thanks,

Eduardo Leggiero

General request: Add source maps

It would be useful to add jQuery's source maps within the repository. The minified jQuery versions refer to their respective source maps anyway so I don't really see a reason why not to include them in the component.
Also I haven't found any discussion about that.

jquery.min.map

Add the file to the files directives of all meta-data.

Minified source of 1.11 contains a syntax error

Try to execute https://github.com/components/jquery/blob/46977563948f37b5d37cc86e11a2540d9e58f5db/jquery.min.js in strict mode, and it will fail with a Syntax error: FunctionDeclaration in Statement context. (If you're not sure what that means, have a look at this StackOverflow question).

Since I'm not familiar with the build process of this file, this might either be a bug in the minifier, or wrong usage of the minifier, and might not originate in this repositiory at all; however this is to where I could track it down.
The first case actually seems likely, since the non-minified file as well as the original source are fine.

I'm looking forward to your expertise about where this bug stems from!

When using composer 2 copies are created

when I use composer to install jQuery using this package, 2 copies are created of the components folder one in the project root & the other in the vendor folder.

Please fix this.

How to install older versin or specific version of jquery with components/jquery?

I've met a problem while using components/jquery and I am not sure whether is caused by the version of jquery. So I want to try to install different version of jquery to test.

But I don't know how to install different version of jquery with component?

I've added that to my component.json and it looks like this:

"dependencies": {
    "necolas/normalize.css": "*",
    "component/jquery": "1.10.1"
}

But it returned me

error : failed to fetch https://raw.github.com/component/jquery/1.10.1/component.json, got 404 "Not Found"

Can anyone help? Thanks.

Update to 2.2.1

jQuery 2.2.1 is released, will this package update to that version?

Thanks.

Installing both 1.11 and 2.1 with composer

As far as I can tell, it is impossible to install both the latest 2.1.4 version and 1.11.3 version of jQuery, although both are necessary if one wants to be backwards compatible and use 2.1.4 for "good" browsers and 1.11.3 for IE8 and below.

Because composer does not support installing multiple versions of the same package, ideally there would be a package for jQuery 1 and another package for jQuery 2 - the legacy jQuery 1 could also be named "jquery-legacy", "jquery-old-ie" or something like that. I would really welcome some kind of solution like this - right now I am using this package for 2.1.4, and still manually updating 1.11.3 within my own source files, and I guess other users of this package are doing the same - or they just use 2.1 and are not supporting old IEs anymore, or they are using 1.11 with new browsers to support all browsers, which slows down all new browsers.

Change last comment line

Can you change this comment:
//@ sourceMappingURL=dist/jquery-migrate.min.map
using a block comment?
I have a problem when I import the jquery-migrate file in an php gzip

Composer error

Failed to execute git checkout 8edc778 -- && git reset --hard 8edc778
83302b856a1d61de60e7 --

fatal: reference is not a tree: 8edc778

It looks like the commit hash is not available in the repository, maybe the tag was recreated? Run "composer update
components/jquery" to resolve this.

1.10.0

Seems jQuery 1.10.0 is missing :(

Use of non-specific version is harmful

According to jQuery's official position, referencing non-specific versions of javascript libraries is considered harmful and they reference this article on the matter.

Therefore we should probably add the version numbers to the source file names. The benefits seem to outweigh any disadvantages.

/cc @RobLoach

main file

Shouldnt the minified file be the main version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.