Comments (2)
This was caused by jQuery Lint expecting the second argument to bind() being a function (handler) or a data object (type:'object:map').
You seem to be passing a string as data, instead of an object. I've fixed it so it now works with basically anything (apart from a function). Strictly, it should be a map of data (See: http://api.jquery.com/bind/), but I think I'm gonna let this one through.
Download the latest version of Lint. Let me know if you still get the bug. Thanks! :)
from jquery.lint--old.
I'm not calling bind() directly, that's the way jQuery seems to call it from live() in 1.3.2. (http://github.com/jquery/jquery/blob/1.3.2/src/event.js#L547) 1.4 seems to call bind() with an object like jQLint is expecting. Looks to me like the fix worked.
from jquery.lint--old.
Related Issues (20)
- jQuery lint breaks jQuery corner plugin HOT 1
- make LINT version number available via javascript HOT 1
- Problems with Internet Explorer HOT 1
- jQuery.fn.find(selector) isn't monitored for noElementsFound HOT 1
- Check for bad selectors
- Check for bad selectors HOT 1
- Make sure `internal` flag is not on when running user function
- 1.1 breaks jquery UI dialog HOT 1
- trigger wraning when passing only an event object
- Use Array.pop() instead of Array.splice(i, 1)
- Seems to block unbind
- JQuery 1.5 breaks jQuery Lint
- jQuery-Lint is attempting to (re)validate the jQuery object? HOT 1
- trigger(ready) called incorrectly
- JQuery Unbind broken
- Unnecessary warrning when script tries to set the same property two times
- .attr("id") causes weird error
- trigger(ready) called incorrectly HOT 1
- I used 'sucess' instead of 'sucess' in .ajax, didn't get a message/warning
- $element.data triggers incorrect usage warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.lint--old.