in widget design patterns example, use Ox.$, not $

This commit is contained in:
rolux 2013-11-29 22:19:52 +01:00
parent 2fd1892890
commit cc454e5f80

View file

@ -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.
*/