qooxdoo/qooxdoo — pull request #65 by level420 (2013-07-10 14:50:53+00:00)
Title: Optimization and meaningfull error message in method addCssClass of decoration manager

Small optimization: If the decorator already has a rule in the stylesheet there is no need to call this.resolve() here.
Check if resolving the decorator was successfull and throw an exception with a meaningfull error message if not.