tivac / crucible

API CMS UI powered by Firebase, mithril, and my own dwindling sanity. Oh, and acronyms.
MIT License
117 stars 20 forks source link

Objectify exports for children.js imports. #141

Closed ctcleary closed 8 years ago

ctcleary commented 8 years ago

As per @tivac 's request:

Instead of this:

// children.js
`import * as something from "./something.js"

// something.js
export function controller() { ... };
export function view() { ... };

Convert to this:

// children.js
import something from "./something.js"

// something.js
export default {
  controller : function() { ... },
  view : function() { ... }
}