# Your snippets # # Atom snippets allow you to enter a simple prefix in the editor and hit tab to # expand the prefix into a larger code block with templated values. # # You can create a new snippet in this file by typing "snip" and then hitting # tab. # # An example CoffeeScript snippet to expand log to console.log: # # '.source.coffee': # 'Console log': # 'prefix': 'log' # 'body': 'console.log $1' # '.source.js': 'Console Log': 'prefix': 'csl' 'body': 'console.log($1);' 'Log Debug': 'prefix': 'ldb' 'body': '$log.debug($1);' 'Angular Module': 'prefix': 'mod' 'body': """ (function () { 'use strict'; angular.module('${1:pb.ds.elements}', ['ui.router']); })(); """ '.source.scss': 'SVG data url base 64': 'prefix': 'svgbase' 'body': 'data:image/svg+xml;base64,$1' 'Include Breakpoint': 'prefix': 'ibp' 'body': """ @include breakpoint(${1:screen-xs}) { $2 }$0 """ 'Media Max Width': 'prefix': 'mmw' 'body': """ @media (max-width: ${1:768px}) { $2 } """ '.text.html': 'Non-breaking Hyphen': 'prefix': 'nbh' 'body': '‑' 'Code Snippet Block': 'prefix': 'codesnip' 'body': """