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
<html> | |
<head> | |
<script src="react.js"></script> | |
<script src="transformer.js"></script> | |
</head> | |
<body> | |
<div id="component"></div> | |
<script type="text/jsx"> | |
/** @jsx React.DOM */ |
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 src="react.js"></script> | |
<script src="transformer.js"></script> | |
</head> | |
<body> | |
<div id="component"></div> | |
<script type="text/jsx"> | |
/** @jsx React.DOM */ |
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 src="react.js"></script> | |
<script src="transformer.js"></script> | |
</head> | |
<body> | |
<div id="component"></div> | |
<script type="text/jsx"> | |
/** @jsx React.DOM */ |
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 src="http://fb.me/react-0.10.0.js"></script> | |
<script src="http://fb.me/JSXTransformer-0.10.0.js"></script> | |
</head> | |
<body> | |
<div id="component"></div> | |
<script type="text/jsx"> | |
/** @jsx React.DOM */ |
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
"" ---------------------------------------------------------------------------- | |
"" Random other items | |
"" ---------------------------------------------------------------------------- | |
" Custom ignore for ctrl-p | |
let g:ctrlp_custom_ignore = '\v[\/]\.(DS_Storegit|hg|svn|optimized|compiled|node_modules)$' | |
"let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git' | |
" Ignore html in syntastic since it doesn't handle handlebars | |
let syntastic_mode_map = { 'passive_filetypes': ['html'] } |
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
<%= form_tag registration_index_path do %> | |
<%= fields_for User.new do |u| %> | |
<%= u.label :phone %> | |
<%= u.text_field :phone %> | |
<% end %> | |
<p> | |
<%= label_tag :workout %> | |
<%= check_box_tag :workout %> | |
</p> | |
<p> |
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
## Error | |
couldn't find file 'bootstrap-dropdown' | |
(in /Users/node/Projects/samplator/app/assets/javascripts/application.js:9) | |
sprockets (2.0.3) lib/sprockets/context.rb:100:in `resolve' | |
sprockets (2.0.3) lib/sprockets/context.rb:140:in `require_asset' | |
sprockets (2.0.3) lib/sprockets/directive_processor.rb:214:in `process_require_directive' | |
sprockets (2.0.3) lib/sprockets/directive_processor.rb:164:in `block in process_directives' | |
sprockets (2.0.3) lib/sprockets/directive_processor.rb:162:in `each' |
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
# Method Summary | |
# Before a request gets sent out we need to make sure | |
# it's formatted correctly and contains the right | |
# info. We are adding the CSRF tokens in the header | |
# so our POST request work and making sure any | |
# namespaced attributes are working so the server is | |
# happy. If we are using other AJAX request to post | |
# date we will have to add something for jQuery. | |
preProcessSync: -> | |
# Fix backbone headers |
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
# Extends Backbone.View on top of itself with some added features | |
# we use regularly | |
class Backbone.View extends Backbone.View | |
## | |
# Manages child views and renders them whenever the parent view is rendered. | |
# Specify views as key:value pairs of `className: view` where `className` is | |
# a CSS className to find the element in which to to append a rendered | |
# `view.el` | |
# |
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
(function(){ | |
console.log("Module scoped function"); | |
})(); |
OlderNewer