A Pen by Ezekiel Binion on CodePen.
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
| { | |
| "auto_complete_commit_on_tab": true, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "ensure_newline_at_eof_on_save": true, | |
| "font_size": 14, | |
| "highlight_line": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" |
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
| ; EditorConfig is awesome: http://EditorConfig.org | |
| # editorconfig.org | |
| root = true | |
| [*] | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf |
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
| # A class-based template for jQuery plugins in Coffeescript | |
| # | |
| # $('.target').myPlugin({ paramA: 'not-foo' }); | |
| # $('.target').myPlugin('myMethod', 'Hello, world'); | |
| # | |
| # Check out Alan Hogan's original jQuery plugin template: | |
| # https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
| # | |
| (($, window) -> |
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
| { | |
| "deniedTags": ["style"], | |
| "buttons": ["html","formatting","bold","italic","unorderedlist","orderedlist","link","image","video"], | |
| "plugins": ["fullscreen"], | |
| "toolbarFixedBox": true, | |
| "script": true | |
| } |
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
| .settings-menu.dropit { | |
| position: relative; | |
| } | |
| .settings-menu.dropit .dropit-submenu { | |
| top: auto; | |
| bottom: 0; | |
| } |
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
| Subject: Table XI Research Study Participation | |
| Hi [insert first name], | |
| Thank you for agreeing to participate in our study. | |
| During our 45 min - 1 hour session, you'll be asked to use a prototype of a rough concept. We’ll connect remotely through a service called GoToMeeting. So that we can observe your interactions with the prototype, we ask for you to share your screen and web camera (if available). | |
| Before our session, please download and install GoToMeeting on your computer: https://www.gotomeeting.com/island/host.flow |
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
| /** | |
| * Toggles a className on an element based on it's visiblity on screen | |
| * @type {Class} | |
| * @param {HTMLElement} element Element you'd like to toggle | |
| * @param {Object} [options={}] Optional settings | |
| */ | |
| class ScrollToggle { | |
| constructor(element, options={}) { | |
| // Setup default options | |
| const defaultOptions = { |
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
| // Vanilla version of FitVids | |
| // Still licencened under WTFPL | |
| // | |
| // Not as robust and fault tolerant as the jQuery version. | |
| // And also, I don't support this at all whatsoever. | |
| const vanillaFitVids = () => { | |
| // List of Video Vendors embeds you want to support | |
| const players = [ | |
| 'iframe[src*="youtube.com"]', |
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
| /** | |
| * Calls provided functions based on an elements visiblity on screen | |
| * @type {Class} | |
| * @param {HTMLElement} element Element you'd like to observe | |
| * @param {Object} [options={}] Optional settings | |
| */ | |
| class ScrollCallback { | |
| constructor(element, options={}) { | |
| // Setup default options | |
| const defaultOptions = { |