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
    
  
  
    
  | #!/usr/bin/env python | |
| import os | |
| import sys | |
| if __name__ == '__main__': | |
| EXPORT = ['DATABASE_URL'] | |
| CONTAINER = 'web' | |
| HOST_PRERUN = 'docker-compose build web workers | utils/bin/delayoutput 3' | 
  
    
      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
    
  
  
    
  | import Html exposing (..) | |
| import Html.App exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Http | |
| import Task exposing (Task) | |
| import Json.Decode as Json exposing ((:=)) | |
| type Msg | 
  
    
      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
    
  
  
    
  | //Download jquery.js and place it in the build, do not use require-jquery.js | |
| //in the build, since each of the build layers just needs almond and not the | |
| //full require.js file. | |
| //This file is run in nodejs to do the build: node build.js | |
| //Load the requirejs optimizer | |
| var requirejs = require('./r.js'); | |
| //Set up basic config, include config that is | |
| //common to all the requirejs.optimize() calls. | 
  
    
      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
    
  
  
    
  | //Load the requirejs optimizer | |
| var requirejs = require('./path/to/r.js'), | |
| //Set up basic config, include config that is | |
| //common to all the optimize() calls. | |
| basConfig = { | |
| baseUrl: './some/path', | |
| paths: { | |
| //whatever is neded globally. | |
| } | |
| }; | 
  
    
      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
    
  
  
    
  | // includes bindings for fetching/fetched | |
| var PaginatedCollection = Backbone.Collection.extend({ | |
| initialize: function() { | |
| _.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
| typeof(options) != 'undefined' || (options = {}); | |
| this.page = 1; | |
| typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
| }, | |
| fetch: function(options) { |