Skip to content

Instantly share code, notes, and snippets.

View ShawnOakley's full-sized avatar

Shawn Oakley ShawnOakley

View GitHub Profile
@ShawnOakley
ShawnOakley / gist:9376558
Created March 5, 2014 21:05
Window resize function using height variable
CRM.module("DashboardApp.Show", function(Show, CRM, Backbone, Marionette, $, _){
Show.Dashboard = Marionette.Layout.extend({
className: "container-fluid",
template: "backbone/crm/templates/dashboard/show",
regions: {
contacts: "#contacts",
filter: "#filter"
},
// var CRM.DashboardApp.Show.origHeight = 0,
initialize: function(){