Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
www
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published