can.$ is referring to $ object when jquery.js is loaded. All the
3rd party jquery plugin methods are added to window.$ and when
controller is created this.element is wrapped with can.$ and hence this.element in controller doesn't have
any 3rd party plugin methods like .dialog
I tried System meta configuration but it didn't work.
-
"meta": {
"jquery": {
"format": "global",
"exports":"jQuery"
},