This file contains hidden or 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
| /** | |
| * Adds a button to generate raw text data from daily entries on Harvest. | |
| */ | |
| (function () { | |
| var button = document.createElement('button'), | |
| nav = document.querySelector('#nav'), | |
| dayLinks = document.querySelectorAll('.js-harvest-current-view .day-view-week-nav a.js-day'), | |
| area; |
This file contains hidden or 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
| /** | |
| * Adds Alt+Shift shortcut for swapping languages in Google Translate. | |
| * Best used with browser JS injectors such as | |
| * https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija | |
| */ | |
| (function () { | |
| var shiftKeyPressed = false, | |
| altKeyPressed = false, | |
| swap = document.querySelector('#gt-swap'); |
This file contains hidden or 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
| Router.configure({ | |
| layoutTemplate: 'layout', | |
| loadingTemplate: 'loading', | |
| notFoundTemplate: 'notFound', | |
| waitOn: function () { | |
| return [ | |
| Meteor.subscribe('users'), | |
| Meteor.subscribe('companiesWithUsers') | |
| ]; | |
| } |
NewerOlder