Sha256: 67aefd4c24ac18879f2f1480dd3f1d31e06e0067102fab8c805bd92c84d4f19d
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
$ -> $(window).bind('body_loaded', => pb = new PhotoBrowser() pb.hashchange() ) class PhotoBrowser constructor: -> hashchange: => location = window.location.hash location = location.slice(1,location.length) @load_image(location) load_image: (path) => #/Users/ondrejodchazel/Pictures/pozadi.png $("#image").attr("src","/api/file_system/file?path=#{path}")
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
daftos-0.4.0 | lib/apps/photobrowser/coffee/photobrowser.coffee |
daftos-0.3.0 | lib/apps/photobrowser/coffee/photobrowser.coffee |
daftos-0.2.0 | lib/apps/photobrowser/coffee/photobrowser.coffee |