@@ -13,8 +13,6 @@ define([
1313] , function ( declare , _WidgetBase , _TemplatedMixin , dom , domClass , domStyle , domConstruct , dojoArray , lang , widgetTemplate , _jQuery ) {
1414 "use strict" ;
1515
16- window . jQuery = window . $ = _jQuery ;
17-
1816 require ( [ "./lib/jquery-migrate" , "jquery-ui" , "jquery-ui/ui/widgets/autocomplete" , "jquery-ui/ui/widgets/menu" , "jquery-ui/ui/widgets/selectable" , "./lib/tag-it" , ] ) ;
1917
2018 return declare ( "LabelSelect.widget.LabelSelect" , [ _WidgetBase , _TemplatedMixin ] , {
@@ -138,19 +136,19 @@ define([
138136 value = tagObj . get ( this . _tagAttribute ) ;
139137 color = ( this . _colorAttribute ) ? dom . escapeString ( tagObj . get ( this . _colorAttribute ) ) : null ;
140138
141- $ ( "#" + this . id + "_ListBox" ) . tagit ( "createTag" , value , additionalClass , duringInitialization , color ) ;
139+ _jQuery ( "#" + this . id + "_ListBox" ) . tagit ( "createTag" , value , additionalClass , duringInitialization , color ) ;
142140 } , this ) ;
143141
144142 this . _executeCallback ( callback , "_renderCurrentTags" ) ;
145143 } ,
146144
147145 _startTagger : function ( options ) {
148146 if ( options ) {
149- $ ( "#" + this . id + "_ListBox" ) . tagit ( options ) ;
147+ _jQuery ( "#" + this . id + "_ListBox" ) . tagit ( options ) ;
150148 } else {
151149 //fallback
152150 console . warn ( "No options found, running defaults" ) ;
153- $ ( "#" + this . id + "_ListBox" ) . tagit ( ) ;
151+ _jQuery ( "#" + this . id + "_ListBox" ) . tagit ( ) ;
154152 }
155153 } ,
156154
0 commit comments