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
| { | |
| "name": "tbs4", | |
| "version": "1.0.0", | |
| "description": "A Twitter Bootstrap 4 starter theme", | |
| "main": "index.js", | |
| "scripts": { | |
| "dev": "webpack", | |
| "build": "webpack", | |
| "watch": "webpack --watch", | |
| "production": "cross-env NODE_ENV=production webpack" |
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
| // Conver scale factor into pixels | |
| .fontScale(@scale: 0) { | |
| @list: 14px, 16px, 20px, 24px, 28px, 34px, 41px, 50px, 60px; | |
| .test-args(@scale) when (@scale >= -2) and (@scale <= 6) { | |
| font-size: extract(@list, @scale + 3); | |
| } | |
| .test-args(@scale); | |
| } |
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 wireUpGADocumentTracking() { | |
| if ($("body.sfPageEditor").length == 0) { | |
| var filetypes = /\.(zip|exe|dmg|pdf|doc.*|xls.*|ppt.*|mp3|txt|rar|wma|mov|avi|wmv|flv|wav)$/i; | |
| var baseHref = ''; | |
| if (jQuery('base').attr('href') != undefined) baseHref = jQuery('base').attr('href'); | |
| var hrefRedirect = ''; | |
| jQuery('#content-wrapper').on('click', 'a', function (event) { | |
| var el = jQuery(this); | |
| var track = 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
| IMPORTANT | |
| Please duplicate this radar for a Safari fix! | |
| This will clean up a 50-line workaround. | |
| rdar://22376037 (https://openradar.appspot.com/radar?id=4965070979203072) | |
| ////////////////////////////////////////////////////////////////////////////// | |
| (Now available as a standalone repo.) |