_____ _ _   
   / ____(_) |  
  | |  __ _| |_ 
  | | |_ | | __|
  | |__| | | |_ 
   \_____|_|\__|
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Roman fraction system based on uncia (12ths) | |
| // Following ancient Roman coin denominations | |
| const romanFractionNames = { | |
| 12: '', // whole number (as) | |
| 11: 'deunx', // 11/12 | |
| 10: 'dextans', // 10/12 | |
| 9: 'dodrans', // 9/12 | |
| 8: 'bes', // 8/12 | |
| 7: 'septunx', // 7/12 | 
All "stop" and "segment" cards must have a status object. All "stop" views must have the "status" object in the stage block next to the other metadata.
The status object would look like the following:
{
  "status": {
    "code": "post",
 "label": "REPLAY",
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | app.directive 'aspectRatio', () -> | |
| exports = | |
| scope: {}, # reset scope value to empty between each element otherwise shared ng-repeat pairs will share scope | |
| replace: false, # this keeps the container element on the page | |
| transclude: true, # this wraps the template around the content rather than placing the template inside the content | |
| templateUrl: 'app/directives/aspect-ratio.jade', | |
| link: (scope, elem, attrs) -> | |
| # initialize basic aspect ratio | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | .some-css-scope label { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| .some-css-scope nav a { | |
| border: none; | 
This is an example of how to scaffold API endpoints to list / get / create / update / delete Posts in a Keystone website.
It's a modification of the default project created with the yo keystone generator (see https://github.com/JedWatson/generator-keystone)
Gists don't let you specify full paths, so in the project structure the files would be:
routes-index.js        -->    /routes/index.js         // modified to add the api endpoints
routes-api-posts.js    -->    /routes/api/posts.js     // new file containing the Post API route controllers
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| * Angular Carousel - Mobile friendly touch carousel for AngularJS | |
| * @version v0.3.7 - 2014-11-11 | |
| * @link http://revolunet.github.com/angular-carousel | |
| * @author Julien Bouquillon <[email protected]> | |
| * @license MIT License, http://www.opensource.org/licenses/MIT | |
| */ | |
| /*global angular */ | |
| /* | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | submitForm = -> | |
| formData = jQuery("form", el).serialize() | |
| $http( | |
| method: "POST" | |
| url: "/?gf_page=preview&id=1" | |
| data: formData | |
| headers : { 'Content-Type': 'application/x-www-form-urlencoded' } | |
| ).success(submitSuccess) |