Created
November 8, 2020 16:23
-
-
Save Postnov/7c5ffbef02b3e483de5a0819c98ef882 to your computer and use it in GitHub Desktop.
Создание метода в jQuery (create method in jQuery)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.fn.myfunction = function() { | |
console.log('run function'); | |
return this; | |
}; | |
})( jQuery ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment