Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
| (function(XHR) { | |
| "use strict"; | |
| var stats = []; | |
| var timeoutId = null; | |
| var open = XHR.prototype.open; | |
| var send = XHR.prototype.send; | |
| [ | |
| { | |
| "name": "Afghanistan", | |
| "dial_code": "+93", | |
| "code": "AF" | |
| }, | |
| { | |
| "name": "Aland Islands", | |
| "dial_code": "+358", | |
| "code": "AX" |
| (function (global) { | |
| if ( !global.Event && !('keys' in Object) && !('bind' in Function) ) { return } | |
| var eventProto = Event.prototype, | |
| EVENTS = { | |
| 'mouse': [ 'click', 'dblclick', 'contextmenu', 'mousedown', 'mouseup', 'mouseover', 'mousemove', 'mouseout', 'drag', 'dragend', 'dragenter', 'dragleave', 'dragover', 'drop'], | |
| 'key': [ 'keydown', 'keypress', 'keyup', 'input'], | |
| 'res': [ 'load', 'unload', 'beforeunload', 'abort', 'error', 'resize', 'scroll', 'readystatechange' ], | |
| 'form': [ 'select', 'change', 'submit', 'reset', 'focus', 'blur' ], | |
| 'ui': [ 'DOMFocusIn', 'DOMFocusOut', 'DOMActivate', 'DOMCharacterDataModified', 'DOMNodeInserted', 'DOMNodeRemoved', 'DOMSubtreeModified' ], |
| <h1>Pure CSS - file icons</h1> | |
| <h2>with nice hover animation</h2> | |
| <div class="icons"> | |
| <div class="icon icon--doc"><i title="doc"></i></div> | |
| <div class="icon icon--pdf"><i title="pdf"></i></div> | |
| <div class="icon icon--sheets"><i title="xlsx"></i></div> | |
| <div class="icon icon--slides"><i title="ppt"></i></div> | |
| <div class="icon icon--code"><i title="xml"></i></div> | |
| </div> |
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
| form i.icon.error { | |
| color: $assertive; | |
| } | |
| form input + i.icon.error { | |
| display: none; | |
| margin-left: 8px; | |
| } | |
| form.ng-submitted input.ng-invalid + i.icon.error { |
| - Ejemplo de Gulp con Ionic => https://gist.github.com/jdnichollsc/e3a323223fcb7822dbba | |
| - SQLite con ngCordova usando patrón de servicio y promesas => https://gist.github.com/jdnichollsc/9ac79aaa3407e92677ba | |
| - Permitir dinamicamente arrastrar elementos de una Lista => https://gist.github.com/mhartington/c5107ccd9204b755442b | |
| - Obtener datos consumiendo un servicio REST o desde el LocalStorage => https://gist.github.com/jdnichollsc/7367fe5b17369e856157 | |
| - Cambiar el tamaño de un Modal => https://gist.github.com/jdnichollsc/1b0112dfdca4b7f06fbe |
| /******************************************************************************* | |
| 1. DEPENDENCIES | |
| *******************************************************************************/ | |
| var gulp = require('gulp'); // gulp core | |
| sass = require('gulp-sass'), // sass compiler | |
| uglify = require('gulp-uglify'), // uglifies the js | |
| jshint = require('gulp-jshint'), // check if js is ok | |
| rename = require("gulp-rename"); // rename files | |
| concat = require('gulp-concat'), // concatinate js |