#403 ✓ invalid
Jon Buckley

Change Butter config to not require code in butter-main.js

Reported by Jon Buckley | February 24th, 2012 @ 12:46 PM | in 0.2 - Ghostbusters (closed)

We have our config/default.conf file, but adding anything to it means that we need to add code to butter-main.js to do anything useful with it. Wouldn't it be great if butter-main.js just passed data from default.conf directly to module constructors? Maybe something like this:

{
  "modules": {
    "ui": true,
    "dialog": true,
    "editor": true,
    "preview": true,
    "timeline": true,
    "plugin": {
      "icons": {
        "default": "../resources/popcorn-icon.png",
        "image": "../resources/image-icon.png"
      }
    },
    "track": true,
    "io": {
      "server" : "localhost:8888"
    }
  },
}

What say you?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn Maker: Software package encompassing several sub-projects in order to deliver an entire popcorn experience.

Butter: Foundation for Popcorn-powered apps (including Popcorn Maker). Track data management, UI construction, other good stuff.

Cornfield: Server infrastructure to store and share popcorn-and-butter-based user data.

And other projects to allow maximal popcorn usability.

Referenced by

Pages