JSFiddle - React, Tailwind, and code Playground
by Cody Lindley
HTML
<script src="https://dl.dropboxusercontent.com/u/2026291/backbone/jquery-2.0.2.js"></script>
<script src="https://dl.dropboxusercontent.com/u/2026291/backbone/lodash.underscore.js"></script>
<script src="https://dl.dropboxusercontent.com/u/2026291/backbone/backbone.js"></script>
<script src="https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var myView = new Backbone.View({ //options...
foo:'',
model: {},
events: {} || function(){return {}},
collection: {},
el: '' || function(){return ''},
id: '',
className: '' || function(){return ''},
tagName: '' || function(){return ''},
attributes: {'attribute':'value','attribute':'value'}
});
//special options on instance
console.log(Object.keys(myView));
//special & non-special options stored on options property (e.g. foo)
console.log(Object.keys(myView.options));