This file contains 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
/** @jsx React.DOM */ | |
// NOTE: This file is formatted for React.js + Browserify | |
// You might need to make some changes to use it without Browserify | |
var MousetrapMixin, | |
Mousetrap = require('br-mousetrap'); | |
MousetrapMixin = { |
This file contains 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
{ | |
"name": "my-app", | |
"version": "0.0.0", | |
"dependencies": { | |
"browserify": "~2.36.1", | |
"less": "~1.5.1" | |
}, | |
"devDependencies": { | |
"watchify": "~0.4.1", | |
"catw": "~0.2.0" |
This file contains 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
# To fix: | |
# LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib | |
# Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle | |
# Reason: image not found – /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle | |
# from /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle | |
# from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’ | |
# from /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2.rb:7 | |
# from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require’ | |
# from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require’ | |
# from (irb):1 |
This file contains 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> | |
<head> | |
<script> | |
window.onload = function() { | |
// Must be server-side images; non-origin images will result in a security exception | |
var images = ["img.jpg"]; | |
for (var i=0;i<images.length;i++) { | |
thumbnailify(images[i]); |
This file contains 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
.table-view { | |
width:100%; | |
height:100%; | |
overflow:scroll; | |
} | |
.table-view-cell{ | |
width:100%; | |
height:30px; | |
border: 1px solid #c0c0c0; | |
cursor: pointer; |