- Максимальная длина строки с правилами и селекторами - 80 символов.
- Все свойства и селекторы на новой строке.
Обычное свойство:
селектор {| #!/bin/bash | |
| version=`head -n 3 manifest.json | tail -1 | grep -Po '"version": "\K.*?(?=")'` | |
| zip -r -b "./" tmp/webstore/$version.zip * -x "tmp/*" |
| (function() { | |
| var root = this, | |
| _tool = root.tool, | |
| _$$ = root._$$, | |
| tool = function(selector, context) { | |
| return new tool.fn.init(selector, context); | |
| }; | |
| (function( hata ) { | |
| hata.extend({ | |
| bind: function( eventType, callback ) { | |
| return this.each(function() { | |
| this.addEventListener( eventType, callback, false ); | |
| }); | |
| }, |
| @include keyframe(fadeout) { | |
| 0% { | |
| opacity: 1; | |
| } | |
| 100% { | |
| opacity: 0; | |
| } | |
| } |
| /* | |
| Usage: | |
| hata.animate( stepFunction, params ); | |
| Params: | |
| * duration - animation time | |
| * delay - pause between repeating | |
| * type - type of delta incrementing | |
| * delta - increment function | |
| * done - functin after animation |
| <ol> | |
| <% sitemap.resources .select{|page| page.url =~ /\.html/} .map{|page| page.url.gsub(/^\//, '')} .sort .each do |url| %> | |
| <li><a target="_blank" href="<%= "#{url}" %>"><%= "#{url}" %></a></li> | |
| <% end %> | |
| </ol> |
| { | |
| "always_show_minimap_viewport": true, | |
| "animation_enabled": false, | |
| "bold_folder_labels": true, | |
| "close_windows_when_empty": false, | |
| "disable_tab_abbreviations_for_scopes": "source.css, source.scss", | |
| "ensure_newline_at_eof_on_save": true, | |
| "font_size": 12, | |
| "hayaku_CSS_colors_case": "lowercase", | |
| "hayaku_CSS_prefixes_disable": true, |
| (function($) { | |
| $.fn.outerHtml = function() { | |
| return this[0].outerHTML; | |
| }; | |
| })(jQuery); |
| /* | |
| smartresize(function() { | |
| // Handle the resize event here | |
| }); | |
| // Executing after loading | |
| smartresize(function() { | |
| // Handle the resize event here | |
| })(); |