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
| triangle(orientation, width, height, color) | |
| if orientation == top | |
| border-width 0 unit(width/2, px) unit(height, px) unit(width/2, px) | |
| border-color transparent transparent color transparent | |
| else if orientation == left | |
| border-width unit(height/2, px) unit(width, px) unit(height/2, px) 0 | |
| border-color transparent color transparent transparent | |
| else if orientation == bottom | |
| border-width unit(height, px) unit(width/2, px) 0 unit(width/2, px) | |
| border-color color transparent transparent transparent |
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
| diamond(width, dColor) | |
| dWidth = unit(width, px) | |
| display block | |
| width dWidth; | |
| height dWidth; | |
| background dColor | |
| position relative | |
| top dWidth | |
| transform rotate(-45deg) | |
| transform-origin 0 100% |
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
| <snippet> | |
| <content><![CDATA[ | |
| /* IE8 fix for window.hasOwnProperty - set to ignore error from jshint */ | |
| /* jshint -W001 */ | |
| $2.hasOwnProperty = $2.hasOwnProperty || Object.prototype.hasOwnProperty; | |
| for ($1 in $2) { | |
| if ($2.hasOwnProperty($1)) { | |
| console.log($2[$1]$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
| // # YTVideoLoader.js | |
| // Doc: [] | |
| // ## Namespacing | |
| // * Namespace YTVideoLoader Object | |
| // ### Public Methods Available: | |
| // * YTVideoLoader.confirmAPIReady() | |
| // * YTVideoLoader.destroyPlayer() | |
| // * YTVideoLoader.playerControl() | |
| // * YTVideoLoader.buildPlayer() |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>Solarized (dark)</string> | |
| <key>settings</key> | |
| <array> | |
| <dict> | |
| <key>settings</key> |
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
| //---------------------------------------------------------------------- | |
| // Convert a number to specified unit | |
| // @function unit | |
| // @param {number} $num number to be converted to unit | |
| // @param {string} $units unit number will be converted to | |
| // @returns {string} | |
| //---------------------------------------------------------------------- | |
| @function unit($num, $units) { | |
| @return #{$num}#{$units}; | |
| } |
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
| //---------------------------------------------------------------------- | |
| // Create a 2 color, linear gradient SVG image - default of vertical | |
| // @function linearGradientToSVG | |
| // @param {rgba} $colorA first color (top/left) of the gradient | |
| // @param {rgba} $colorB second color (bottom/right) of the gradient | |
| // @param {string} $orientation expects vertical or horizontal | |
| // @returns {url} | |
| //---------------------------------------------------------------------- | |
| @function linearGradientToSVG($colorA, $colorB, $orientation: vertical) { | |
| @if $orientation == vertical { |
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
| var _ = require('lodash'); | |
| // var _ = require('underscore'); | |
| function existy(x) { | |
| return x !== undefined && x !== null; | |
| } | |
| function truthy(x) { | |
| return x !== false && existy(x); | |
| } |
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
Show hidden characters
| { | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "caret_extra_width": 1, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/User/SublimeLinter/Material-Theme-OceanicNext (SL).tmTheme", | |
| "default_line_ending": "unix", | |
| "font_face": "Hack", | |
| "font_size": 10, | |
| "highlight_line": 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
| (function() { | |
| 'use strict'; | |
| angular | |
| .module('jpmTool.components') | |
| .directive('datePicker', datePicker); | |
| function datePicker() { | |
| return { | |
| scope: { |