       exports: 'Aloha'
       init: () ->
         jQuery.browser.version = 10000 # Hack to fix aloha-editor's version checking
+        if MINIFIED_ALOHA
+          Aloha.require ["css!aloha.css"]
         return Aloha
 
     mathjax:

BOWER = '../bower_components' # The path to the downloaded bower components

require.config
  # # Configure Library Locations

    marionette: "#{BOWER}/backbone.marionette/lib/backbone.marionette"

    # ## UI Libraries
    aloha: (MINIFIED_ALOHA and
        "#{BOWER}/aloha-editor/target/build-profile-with-oer/rjs-output/lib/aloha" or
        "#{BOWER}/aloha-editor/src/lib/aloha")
    select2: "#{BOWER}/select2/select2"
    moment: "#{BOWER}/moment/moment"
    # Bootstrap Plugins
