这是什么.Ember或JQuery中的$()

Man*_*nku 3 javascript jquery jquery-ui ember.js

我在https://github.com/lukemelia/jquery-ui-ember上看到了示例代码.有人可以告诉我这是什么.$()

你可以在jquery-ui-ember-master\jquery-ui-ember-master\js\app.js上看到这个

WoI*_*IIe 5

this.$()$对当前objectcope 的方法的调用.

this指你当前的对象.
$是一个功能this.
()会调用该函数$this.

  • 这为您提供了jQuery对象的引用. (2认同)