Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 62180

Denotes questions regarding Magento 2 requirejs-config.js

2 votes
1 answer
780 views

jquery plugin error "Uncaught TypeError: $(...).[plugin function] is not a function"

I am using Magento 2.2.6 and I am trying to include a jquery plugin (stickybits, in this case). The jquery plugin file is successfully called in my requirejs-config.js file and I can see that the file …
YWSW's user avatar
  • 336
1 vote

jquery plugin error "Uncaught TypeError: $(...).[plugin function] is not a function"

Every 3rd party plugin needs to be mapped in the requirejs-config.js file and "shim" to connect it to jquery; then the plugin needs to be called specifically under "require" in your regular js files
YWSW's user avatar
  • 336