Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 3ddfe2a Jun 13, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mocks
src
www
README.md
TODO.md
coffeelint.json
package.json
sample_gitignore
webpack.config.coffee

README.md

Anchorage

A highly customizable & extendable homepage

Building

clone the repo, and run

npm install
webpack

or webpack --watch for continuous rebuilds

Note that Chrome will complain about cross-origin SVGs if the files are served as file:// so you may need to run a local webserver to test.

Style and Vocabulary

Import Style

  • Group associated imports together in blocks, formatted like so:

    Module         = require("./Module.cjsx")
    LongNameModule = require("./LongNameModule.cjsx")
    ModuleToo      = require("./ModuleToo.cjsx")
    
  • When importing multiple submodules, bind the top level module to a local variable, and then reference that for the submodule bindings

    Widget = require("./constants.cjsx")
    WidgetHelpers = Widget.helpers
    

Naming Conventions

  • Stores should be postfixed with the word Store (i.e the store that tracks which widget is being dragged is called the DragStore)
  • Option is used to refer to Reflux stores that contain some group of user-configurable variables.
You can’t perform that action at this time.