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[ | |
<img src="http://placehold.it/${1:500x500}&text=${2:Placeholder}"> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>place</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.css</scope> --> | |
</snippet> |
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
$(document).crystal('blastoff', { | |
// Values currently set are default values of configuration | |
cart: { | |
trigger: $('#cart-trigger'), // (jQuery) required - selector to activate offcanvas cart | |
style: 'offcanvas', // (string) choose between 'offcanvas', 'modal', or 'tooltip' | |
//tabbed: false, // (boolean) true shows buylist cart in tabbed interface | |
direction: 'move-right' // (string) choose from 'move-left' or 'move-right' |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Spectral/spectral.tmTheme", | |
"font_size": 9, | |
"highlight_line": true, | |
"highlight_modified_tabs": 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
// Example: "company1", "company2" | |
"include_orgs": [], | |
// Show GitHub users | |
// Example: "user1", "user2" | |
"include_users": [], |
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
$('#search_category_select').change(function(){ | |
$('input.search-field').focus(); | |
}); | |
$('#search_category_select').change(function(){ | |
$('input.search-field').focus(); |
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 data = { | |
"name": "Affinity", | |
"mainDeck": [ | |
{"qty": 4, "name": "Mox Opal"}, | |
{"qty": 4, "name": "Cranial Plating"}, | |
{"qty": 3, "name": "Glimmervoid"}, | |
{"qty": 4, "name": "Darksteel Citadel"}, | |
{"qty": 4, "name": "Galvanic Blast"}, | |
{"qty": 3, "name": "Etched Champion"}, | |
{"qty": 4, "name": "Ornithopter"}, |
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
$('.bxslider').bxSlider({ | |
mode: 'slide', | |
onSlideAfter: function (currentSlideNumber, totalSlideQty, currentSlideHtmlObject) { | |
$('.active-slide').removeClass('active-slide'); | |
$('.bxslider li').eq(currentSlideHtmlObject + 1).addClass('active-slide'); | |
}, | |
onSliderLoad: function () { |
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
onSlideAfter: function (currentSlideNumber, totalSlideQty, currentSlideHtmlObject) { | |
$('.active-slide').removeClass('active-slide'); | |
$('.bxslider li').eq(currentSlideHtmlObject + 1).addClass('active-slide'); | |
}; | |
onSliderLoad: function () { | |
$('.bxslider li').eq(1).addClass('active-slide'); | |
}; |
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
// custom contact form | |
$('#contact_us_form').on('click', '#submit-contact', function() { | |
// $phoneNumber = $('#phone').val(); | |
// $message = $('#message'); | |
// dev.log('Phone', $phoneNumber); | |
$('#message').text('Schedule a free consultation' + '\n' + | |
'_______________________________________' + '\n \n' + |
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
/* AUTHORS */ | |
Name: Designer Name Here | |
Twitter: | |
Company: CrystalCommerce | |
Site: http://crystalcommerce.com | |
Twitter: @crystalcommerce | |