/emacs.d/jeg2/snippets/js-mode/backbone/collection.yasnippet
Unknown | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | e8c641c8943847efac2a1e7724353439 MD5 | raw file
- # -*- mode: snippet -*-
- # name: Backbone.Collection
- # key: col
- # --
- ${1:$(if (> (length yas-text) 0) "var " "")}${1:window.${2:Name}}${1:$(if (> (length yas-text) 0) " = " "")}Backbone.Collection.extend( {
- $0
- } );