Kevin-De-Coninck/OfficeWebControls — pull request #4 by danieleds (2014-04-19 15:15:52+00:00)
Title: Removed document.ready dependency, and facilitate the insertion of elements at runtime

The call to $(document).ready() was causing bugs where the Ribbon might not have been initialized correctly if Init() was not called yet. This was fixed by making Init() responsible of adding classes and handlers.

In addition, the InitElement() was introduced to allow runtime initialization of dynamically created elements within the Ribbon.