Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

can.$ is not referring to window.$ and hence this.element in controller doesnt have any 3rd party plugin methods like .dialog

$
0
0
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. 
  1. "meta": {

          "jquery": {

             "format": "global",

            "exports":"jQuery"

          },



Viewing all articles
Browse latest Browse all 3491

Trending Articles