Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bower package #502

Closed
chalist opened this issue Jun 11, 2016 · 6 comments
Closed

Bower package #502

chalist opened this issue Jun 11, 2016 · 6 comments

Comments

@chalist
Copy link

chalist commented Jun 11, 2016

How I can use jquery form in bower?
I register this repo in bower and I can't find minified file.
tnx

@kevindb
Copy link
Contributor

kevindb commented Feb 20, 2017

Probably resolved by 14fa0c8 and 0dc9b4e
The new release has just been posted. I'll check back in a day or two to see if the package managers have picked up on the new version.

@pavelaverkiev
Copy link

I got version 4.0.1 using bower and there is a trouble with AMD loading (requirejs). I have seen that this trouble was fixed (in github repo), but I cannot manually replace the module. Please update bower repository!

@kevindb
Copy link
Contributor

kevindb commented Mar 6, 2017

What error are you seeing loading using AMD (RequireJS)?

@pavelaverkiev
Copy link

I see error "$ is not defined".

Here is the code I got today using bower ("jquery-form": "latest"):
`/*!

// AMD support
(function (factory) {
"use strict";
if (typeof define === 'function' && define.amd) {
// using AMD; register as anon module
define(['jquery'], factory);
} if (typeof module !== 'undefined') {
factory(require('jquery'));
} else {
// no AMD; invoke directly
factory( (typeof(jQuery) != 'undefined') ? jQuery : window.Zepto );
}
}`

When I change Line "} if (typeof module !== 'undefined') {" to "} else if (typeof module !== 'undefined') {" everything works fine :)

I see changed version in github project, but in bower repo code is different and I can not get last changes

@kevindb
Copy link
Contributor

kevindb commented Mar 9, 2017

Bower has been updated with v4.1.0

@pavelaverkiev
Copy link

Thanks a lot!

@kevindb kevindb closed this as completed Mar 10, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants