A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| { | |
| "Items": [ { | |
| "TemplateId": "BADGE_BATTLE_ATTACK_WON", | |
| "Badge": { | |
| "BadgeType": "BADGE_BATTLE_ATTACK_WON", | |
| "BadgeRanks": 4, | |
| "Targets": "\\nd\\350\\007" | |
| } | |
| }, { | |
| "TemplateId": "BADGE_BATTLE_TRAINING_WON", |
| Result: 1 | |
| Items { | |
| TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
| Badge { | |
| BadgeType: BADGE_BATTLE_ATTACK_WON | |
| BadgeRanks: 4 | |
| Targets: "\nd\350\007" | |
| } | |
| } | |
| Items { |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| // knockout 3.4.0 | |
| ko.utils.addOrRemoveItem = function (array, value, included) { /* .. */ } | |
| ko.utils.anyDomNodeIsAttachedToDocument = function (nodes) { /* .. */ } | |
| ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
| ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } |
| $('#calendar').fullCalendar({ | |
| viewRender: function(currentView){ | |
| var minDate = moment(), | |
| maxDate = moment().add(2,'weeks'); | |
| // Past | |
| if (minDate >= currentView.start && minDate <= currentView.end) { | |
| $(".fc-prev-button").prop('disabled', true); | |
| $(".fc-prev-button").addClass('fc-state-disabled'); | |
| } | |
| else { |
master branch is always production-ready, deployable, 100% green test suitegit pull is configured to automatically rebase)