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
    
  
  
    
  | js add mustachify function(msg){ var result = /^mustachify (http.*)/.exec(msg.message); if (result) return 'http://mustachify.me/?src=' + result[1] } | 
  
    
      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
    
  
  
    
  | <!DOCTYPE HTML> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <a href="#" class="button">hi</a> | 
  
    
      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
    
  
  
    
  | nope | 
  
    
      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
    
  
  
    
  | class ApplicationController < ActionController::Base | |
| [...] | |
| private | |
| def switch_to_https | |
| return if Rails.env.development? || | |
| request.ssl? || | |
| request.protocol.include?('https') || | 
  
    
      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
    
  
  
    
  | /* - - - - - - - - - person Bubbles - - - - - - - */ | |
| .person { | |
| height: 50px; | |
| position: absolute; | |
| width: 50px; | |
| } | |
| .portrait { | |
| border: 4px solid #fff; | |
| border-radius: 50%; | 
  
    
      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
    
  
  
    
  | define([], function(){ | |
| return { | |
| // check if an object is a geometry | |
| isGeometry: function(object){ | |
| return object.isInstanceOf(esri.geometry.Geometry); | |
| }, | |
| // check if an object is a graphic | 
  
    
      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
    
  
  
    
  | /** | |
| Usage: Just include this script after Marionette and Handlebars loading | |
| IF you use require.js add script to shim and describe it in the requirements | |
| */ | |
| (function(Handlebars, Marionette) { | |
| Marionette.Handlebars = { | |
| path: 'templates/', | |
| extension: '.handlebars' | |
| }; | 
  
    
      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
    
  
  
    
  | L.Tooltip.prototype.updatePosition = function(latlng) { | |
| var pos = this._map.latLngToLayerPoint(latlng); | |
| L.DomUtil.setPosition(this._container, pos); | |
| this._container.style.display = 'inline-block'; | |
| console.log('doing something'); | |
| return this; | |
| } | 
  
    
      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
    
  
  
    
  | Views.ListItem = Marionette.ItemView.extend({ | |
| template: 'item', | |
| tagName: 'li', | |
| className: 'gt-result', | |
| initialize: function() { | |
| // THIS | |
| this.listenTo(this.model, 'change', this.render); | |
| this.listenTo(this.model, 'change', this.renderShape); | |
| }, | 
  
    
      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
    
  
  
    
  | # make sure octokit and highline are actually installed first | |
| require 'octokit' | |
| require 'highline/import' | |
| login = ask("Enter your login: ") { |q| q.echo = false } | |
| pass = ask("Enter your pass: ") { |q| q.echo = false } | |
| @client = Octokit::Client.new(:login => login, :password => pass) |