Skip to content

Instantly share code, notes, and snippets.

@jimmybyrum
Last active August 29, 2015 14:22
Show Gist options
  • Save jimmybyrum/ccc94c8ca183e55066f8 to your computer and use it in GitHub Desktop.
Save jimmybyrum/ccc94c8ca183e55066f8 to your computer and use it in GitHub Desktop.
global.mod
  styles
    main.less
  api // this is where $resources live
    course.js
    bundle.js
    ... // this will get big. think of global resources like an API server- one place to get ALL the data.
  filters
    twoDateSplit.js
    ... // this could also get big, though I don't see us having that many filters. But even if we do, we'll know where to find them all.
  main.js // browserify requires go here

verticalSearch.mod
  client
    directive.js
  templates
    view.dust
    edit.dust
  styles
    main.less
  main.js // browserify requires go here

featuredClass.mod
  client
    directive.js
  templates
    view.dust
    edit.dust
  styles
    main.less
  main.js // browserify requires go here

// each "module" gets a .mod folder that contains the directive/ui/visual aspects. data will be gotten from global.mod/api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment