Skip to content

Instantly share code, notes, and snippets.

View mxriverlynn's full-sized avatar
🏳️‍🌈
coding while trans

River Lynn Bailey mxriverlynn

🏳️‍🌈
coding while trans
View GitHub Profile
@mxriverlynn
mxriverlynn / react-1.js
Last active August 29, 2015 14:28 — forked from ericelliott/hello-word.js
react component
'use strict';
let Hello = function (props) {
return {
props, // set props
render () {
@mxriverlynn
mxriverlynn / Calculator.js
Created October 3, 2012 13:06 — forked from anonymous/Calculator.js
Jasmine.Async example
var Calculator = function(displayElement) {
this.$el = $(displayElement);
};
Calculator.prototype.hideResult = function(cb) {
this.$el.fadeOut(1000, cb);
};
@mxriverlynn
mxriverlynn / gist:1776847
Created February 9, 2012 02:48 — forked from mattritchie/gist:1776748
BBCloneMail fork
//this is using your latest marionette version v0.4.3
BBAdmin.MailApp = (function(BBAdmin, Backbone){
var MailApp = {};
// Email Model And Collection
// --------------------------
MailApp.Group = Backbone.Model.extend({});
@mxriverlynn
mxriverlynn / 10.js
Created November 9, 2011 16:38 — forked from glasner/10.js
Backbone.View.el
MyView = Backbone.View.extend({
events: {
"click #someButton": "clicked"
},
clicked: function(e){
e.preventDefault();
alert("I was clicked!");
},