I hereby claim:
- I am rgrove on github.
- I am rgrove (https://keybase.io/rgrove) on keybase.
- I have a public key whose fingerprint is 6158 CE1B 2C11 D2A1 873D 95D9 1265 448E F00F F5E2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG/MacGPG2 v2.0.18 (Darwin) | |
Comment: GPGTools - http://www.gpgtools.org/ | |
hQIMAyMCGVhpQP9NAQ/+NaGrxidHbbt7ITjxF468QGqsbNfzEyYgmywxbTHQ6VHE | |
d7Cf2QvnL4BzpIdKOgLZdGrAMwhKDLZI7f95ywfwZ//80eHJmYF5Rm0h9RLpHtE4 | |
cSUjNIIaJ6ThaOW4Ee4zXGlFlMhJcE9p9+rvkd89uSEeS73XD0qbKUCXo3xUO+yx | |
2ZqvK+yK6Umz+Nk8Hu/bjhrNSi2bIumfXGZVv4DfeS5Ijd37bCFxc2n/9cumiJaU | |
eKWKf0tXJ5gcU2QkTZTooCGyGKdG0PPhZLQPUddZMkH+rZ1fPmN18z4GreSU0g/v | |
3lrJeIp8I6ePbeKlG5MMJxJGw2EWn8088+RnafGsRExWdkkhlsgVvgbO9MomL2gQ |
this is a test |
irb(main):001:0> false.respond_to?(:dup) | |
=> true | |
irb(main):002:0> false.dup | |
TypeError: can't dup FalseClass | |
from (irb):2:in `dup' | |
from (irb):2 | |
from /Users/rgrove/.rbenv/versions/2.1.0/bin/irb:11:in `<main>' |
"use strict"; | |
var _ = SM.import('lodash'); | |
var DOM = SM.import('sm-dom'); | |
var Uri = SM.import('sm-uri'); | |
// WebKit (as of version 538.35.8) fires a useless popstate event after every | |
// page load, even when the page wasn't popped off the HTML5 history stack. We | |
// only want to handle popstate events that result from a page actually being | |
// popped off the HTML5 history stack, so we need a way to differentiate between |
YUI.add("sm-cart-helpers",function(e){SM.currentModule="sm-cart-helpers";var exports={},module=SM.modules[SM.currentModule]={exports:exports,name:SM.currentModule};!function(){"use strict";var r,o=SM.import("lodash"),t=e.UA.ie&&e.UA.ie<=9,n=e.UA.safari&&parseInt(e.UA.safari,10)<537,a=SM.import("sm-resource-album-image"),s=SM.import("sm-accepts-smugmug-cookies"),u=SM.import("sm-uri");module.exports={showAddToCart:function(i,m,c){return t||n?SM.load("sm-icartoverlay").then(function(){r||(r=new e.SM.ICartOverlay),r.set("image",i),r.set("album",m),r.show()}):a.loadByKey(m.get("AlbumKey"),i.get("ImageKey"),{expand:["ImageSizeDetails"]}).then(function(e){s.then(function(){SM.load("sm-addtocart-controller").then(function(r){r.mount(o.assign({image:e},c))})},function(){var r=SM.env.pageOwner,o=new u(location.href),t="";o.file&&"buy"===o.file.toLowerCase()?o.queryParams.returnTo?t=o.query:(t="returnTo="+encodeURIComponent(e.get("WebUri")),o.query&&(t+="&"+o.query)):t="returnTo="+encodeURIComponent(o.source),window.loc |
diff --git a/lib/innate/helper/link.rb b/lib/innate/helper/link.rb | |
index 08b8b2d..db0113b 100644 | |
--- a/lib/innate/helper/link.rb | |
+++ b/lib/innate/helper/link.rb | |
@@ -28,12 +28,12 @@ module Innate | |
hashes, names = args.partition{|arg| arg.respond_to?(:merge!) } | |
hashes.each{|to_merge| hash.merge!(to_merge) } | |
+ escape = Rack::Utils.method(:escape) | |
location = route_location(self) |
require 'rubygems' | |
require 'ramaze' | |
class MainController < Ramaze::Controller | |
map '/' | |
helper :cache | |
def index | |
%[ | |
<html> |
It's not working. |