Skip to content

Instantly share code, notes, and snippets.

View codylindley's full-sized avatar

Cody Lindley codylindley

View GitHub Profile
$(document).ready(function() {
$('.inviteToGroupBtn').on('click', function() {
lightboxAJAX('/lightbox/invite_to_group?lightbox=1&group_id='+$(this).data('group-id'));
});
$('.usergroupCTA').on('click', function() {
var $this = $(this);
var myModel = new Backbone.Model(attributes, {options}, anything-else-passed-to-initialize-function);
/*
attributes = {data:value, data:value} or [value,value]
options = {
collection: {},
url: '',
urlRoot: '',
parse: boolean
}
### Keybase proof
I hereby claim:
* I am codylindley on github.
* I am codylindley (https://keybase.io/codylindley) on keybase.
* I have a public key whose fingerprint is 13CB 0DEF D19F 6782 5072 AE1E 46D6 0410 66D5 30D8
To claim this, I am signing this object:
//READ THIS
//Step 1. In the meteor project folder create a directry called "packages" (might already be there).
// Add a directory inside of this directory called "kendo-ui-pro"
//Step 2. Inside of the "kendo-ui-pro" directory create a "package.js" file and fill it with the js code in this gist
//Step 3. Drop Kendo UI Pro code inside of the "kendo-ui-pro" directory.
// Then make sure the package.js file contains the correct paths to the kendo ui pro code i.e. the correct .js, .css, .png .gif paths etc...
// e.g. in this gist my kendo-ui-pro directory contains a directory called, "telerik.kendoui.professional.2015.2.814.commercial"
@codylindley
codylindley / index.html
Last active February 3, 2017 18:12
VPXKgJ
<strong>test</strong>