Plato on Github
Report Home
src/deprecated.js
Maintainability
81.30
Lines of code
30
Difficulty
13.64
Estimated Errors
0.17
Function weight
By Complexity
By SLOC
define( [ "./core" ], function( jQuery ) { "use strict"; jQuery.fn.extend( { bind: function( types, data, fn ) { return this.on( types, null, data, fn ); }, unbind: function( types, fn ) { return this.off( types, null, fn ); }, delegate: function( selector, types, data, fn ) { return this.on( types, selector, data, fn ); }, undelegate: function( selector, types, fn ) { // ( namespace ) or ( selector, types [, fn] ) return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); } } ); jQuery.parseJSON = JSON.parse; } );