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
var Application = (function(parent, $, window, document, undefined) { | |
'use strict'; | |
var self = parent.module = parent.module || {}; | |
function privateExample() { | |
return false; | |
} | |
self.publicExample = function() { |
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 sendPayment() { | |
var sheet, last, prices, person; | |
function getColumnByLastRow(column) { | |
return sheet.getRange(last.row, column).getValue().toString(); | |
} | |
sheet = SpreadsheetApp.getActiveSheet(); | |
last = { |
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
require 'trello' | |
# Key & Token | |
TRELLO_DEVELOPER_PUBLIC_KEY = '' | |
TRELLO_MEMBER_TOKEN = '' | |
# General | |
BOARD_ID = '' | |
PREFIX = ':clock12: ' |
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
var TimeAgo = (function() { | |
var self = {}; | |
// Public Methods | |
self.locales = { | |
prefix: '', | |
sufix: 'ago', | |
seconds: 'less than a minute', | |
minute: 'about a minute', |
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
var Sticky = function(selector, containerSelector) { | |
var element = document.querySelector(selector), | |
containerElement = document.querySelector(containerSelector), | |
elementTop = parseInt(window.getComputedStyle(element, null).marginTop), | |
stickedClass = 'sticked', | |
grabEndClass = 'grab-end', | |
elementStart, containerElementFinish; |
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
var BigCoffee = function(selector) { | |
var elements = document.querySelectorAll(selector), | |
index = 0; | |
if (this === window) { | |
return new BigCoffee(selector); | |
} | |
for (; index < elements.length; index++) { | |
this[index] = elements[index]; |
OlderNewer