Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tab completions and snippets for Backbone.js (last updated @0.9.9) (JS + CS)
Branch: master
Failed to load latest commit information.
README.md Updated to 0.9.9
backbone.collection.sublime-snippet
backbone.model.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni…
backbone.module.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni…
backbone.router.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni…
backbone.sublime-completions Updated to 0.9.9
backbone.view.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni…
backbone_coffee.collection.sublime-snippet CoffeeScript Support Added
backbone_coffee.model.sublime-snippet CoffeeScript Support Added
backbone_coffee.module.sublime-snippet CoffeeScript Support Added
backbone_coffee.router.sublime-snippet CoffeeScript Support Added
backbone_coffee.view.sublime-snippet CoffeeScript Support Added
package-metadata.json Updated to 0.9.9

README.md


Backbone.js snippets and tab completions for Sublime Text 2


  • suports both JavaScript and CoffeScript
  • covers tab completions for full 0.9.9 public API
  • adds few convenience snippets

JavaScript Scope

bd - Module definition (requirejs)
bv - Backbone.View.extend({$1})
bm - Backbone.Model.extend({$1})
bc - Backbone.Collection.extend({$1})
br - Backbone.Router.extend({$1})

CoffeeScript Scope

bd - Module definition (requirejs)  
bv - Backbone.View  
bm - Backbone.Model  
bc - Backbone.Collection  
br - Backbone.Router  

Additional CoffeeScript Snippets available at dougrdotnet/Sublime-Text-2-Backbone.js-Coffee


Available from Sublime Package Control default channel or if you prefer to install manually just clone/copy to your Sublime Text 2 packages folder

Any requests to add more snippets? ideas to make it better? random requests? just ping me or open a pull request straight away.

CoffeScript support added by @dougrdotnet

Something went wrong with that request. Please try again.