Giter Site home page Giter Site logo

jquery's Introduction

jquery's People

Contributors

jamesward avatar l0rdn1kk0n avatar mwanji avatar

Stargazers

 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

jquery's Issues

On MacOS X the maven deployed artefact provokes a java.util.zip.ZipException

This prevents the servlet container to start. The message is: "java.util.zip.ZipException: invalid END header (bad central directory offset)". On a linux system the servlet container starts without error.
I tested it with eclipse neon.1 in an empty maven project with only the webjars jquery dependency.
I have been able to unpack it with the standard jar tool and if I repack it with jar tool (without a Manifest file as it has been delivered), the ZipException disappears.

My scenario: MacOS X 10.12.1, Tomcat 8.5.8, Java 1.8.0_111

Can this be a packing/delivering issue?

jquery webjar wro4j integration

wro4j https://code.google.com/p/wro4j/ has a notion of "resource locators" which are defined by prefixes. For example, we can have following group configuration

<js>classpath:META-INF/resources/webjars/jquery/2.1.0/jquery.js</js>        
<js>webjar:/angular.js</js>
    <js>js/app/app.js</js>  

As you can see for Angular webjar I can use (and it work in my project) very nice and version free path - "webjar:/angular.js". So all I have to do to update angular version is to edit pom.xml

I have jquery webjar plugged but for jquery webjar I have to use long path because simple one "webjar:/jqeury.js" simply is not working.

Please update jquery webjar so that it included all needed infrastructure files similar to angular webjar.

JQuery 2.0.3

Hi,

Please publish JQuery 2.0.3. The only thing that needs to be changed in the POM file are the version numbers.

Webjars and jQuery submodules

The built jquery distribution can be too large in some situations (mobile devices). Being able to use only modules you are really interested in is an important feature. It would be nice if the webjars distribution would include besides final distribution (all submodules merged), also all available submodules. This is something I find useful not only for jquery webjar, but for other libraries (ex: yui, etc). The idea is to allow the webjars client to choose whether he want to use final distribution, or build it itself from discrete modules available in webjar.

Proposed solution:
the jquery webjar should contain src folder containing the submodule sources from jquery library: https://github.com/jquery/jquery/tree/master/src

As a result, if the client needs only a small subset of features from jquery library, he can build it by himself.

Another proposal is to not keep minimized resources in webjar, since the minimization can be handled by a specialized library or service (on runtime or buildtime) using one of the preferred minimization algorithm (jsMin, dojoShrinksafe, google closure, yuiMin, uglify, etc)... I see webjar nothing but a mavenized source holder. I'm curious about what you guys think about it.

Thanks,
Alex

jqeury source map incorrect

The sourcemap (jquery-2.0.3.min.map) for jquery maps jquery-2.0.3.min.js -> jquery-2.0.3.js instead of jquery.min.js ->jquery.js, this makes it so you can't cleanly debug (without changing sources to use the non-minimized versions)

jQuery 1.5 (2) support

Hi,
I need jQuery 1.5.latest (1.5.2) for a project. As pom file the following (untested) may be used:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>

    <packaging>jar</packaging>
    <groupId>org.webjars</groupId>
    <artifactId>jquery</artifactId>
    <version>1.5.2</version>
    <name>jquery</name>
    <description>WebJar for jQuery</description>
    <url>http://webjars.org</url>

    <licenses>
        <license>
            <name>MIT License</name>
            <url>https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <url>http://github.com/webjars/jquery</url>
        <connection>scm:git:https://github.com/webjars/jquery.git</connection>
        <developerConnection>scm:git:https://github.com/webjars/jquery.git</developerConnection>
        <tag>jquery-1.5.2</tag>
    </scm>

    <developers>
        <developer>
            <id>jamesward</id>
            <name>James Ward</name>
            <email>[email protected]</email>
        </developer>
    </developers>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <jquery.version>1.5.2</jquery.version>
        <downloadUrl>http://code.jquery.com</downloadUrl>
        <destinationDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${jquery.version}</destinationDir>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>wagon-maven-plugin</artifactId>
                <version>1.0-beta-4</version>
                <executions>
                    <execution>
                        <id>download-js</id>
                        <phase>process-resources</phase>
                        <goals><goal>download-single</goal></goals>
                        <configuration>
                            <url>${downloadUrl}</url>
                            <fromFile>jquery-${jquery.version}.js</fromFile>
                            <toFile>${destinationDir}/jquery.js</toFile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>download-min-js</id>
                        <phase>process-resources</phase>
                        <goals><goal>download-single</goal></goals>
                        <configuration>
                            <url>${downloadUrl}</url>
                            <fromFile>jquery-${jquery.version}.min.js</fromFile>
                            <toFile>${destinationDir}/jquery.min.js</toFile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>download-source-map</id>
                        <phase>process-resources</phase>
                        <goals><goal>download-single</goal></goals>
                        <configuration>
                            <url>${downloadUrl}</url>
                            <fromFile>jquery-${jquery.version}.min.map</fromFile>
                            <toDir>${destinationDir}</toDir>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.4</version>
            </plugin>
        </plugins>
        <extensions>
            <extension>
                <!-- this extension is required by wagon in order to pass the proxy -->
                <!-- cf. http://jira.codehaus.org/browse/MNG-5237 -->
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-http-lightweight</artifactId>
                <version>2.4</version>
            </extension>
        </extensions>
    </build>

</project>

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.