diff --git a/playground/decorators/decorators.html b/playground/decorators/decorators.html index e048af3a..99f4b698 100644 --- a/playground/decorators/decorators.html +++ b/playground/decorators/decorators.html @@ -70,12 +70,18 @@ } }); + var FooterExtension=clazz(Object, { + render: function() { + return this.decorated()+"
I am a footer
"; + } + }); var selection = new Selection(); selection .decorateWith(new ClearExtension({position: "right"})) - .decorateWith(new SortableExtension()); + .decorateWith(new SortableExtension()) + .decorateWith(new FooterExtension()); var markup = selection.render(); $("#container").html(markup);