in widget design patterns example, use Ox.$, not $
This commit is contained in:
parent
2fd1892890
commit
cc454e5f80
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Ox.My.Box = function(options, self) {
|
|||
Here, `.addClass('OxMyText')` is equivalent to `.css({padding: '4px'})`.
|
||||
*/
|
||||
that.empty();
|
||||
text && that.append($('<div>').addClass('OxMyText').html(text));
|
||||
text && that.append(Ox.$('<div>').addClass('OxMyText').html(text));
|
||||
/*
|
||||
Public methods should return `that`, for chaining.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue