emberjs-addons / sproutcore-ui

(Ember Only) A library for building rich, complex user-interfaces on top of Ember
www.sproutcoreui.com
115 stars 3 forks source link

Build puts JS in sproutcore-ui.js in wrong order #7

Open jfahrenkrug opened 13 years ago

jfahrenkrug commented 13 years ago

Hi Majd,

so building scui with rake works, but it puts the code in the generated js file in the wrong order. This is the order:

    component_views.js
    controllers/navigation_controller.js
    controllers/view_controller.js
    core.js
    main.js
    mixins/layout_support.js
    structural_views.js
    system/helper.js
    system/layout_manager.js
    system/namespace.js
    system/view.js
    views/button.js
    views/navigation_view.js

So UI.NavigationController can't be created because the UI namespace is created afterwards.

It's actually a bug in abbot-from-scatch: it doesn't order the files correctly based on the dependencies.

ebryn commented 13 years ago

This is fixed in my pull request.