Some snippets for working with the Meteor framework (v1.0).
Includes snippets for
- CoffeeScript (✔)
- HTML (✔)
- JavaScript (✔) - Updated to 1.0
You can install them now via Package Control (search for "Meteor Snippets") or manually via git:
git clone git://github.com/mrtnbroder/meteor-snippets.git "~/Library/Application Support/Sublime Text 2/Packages/Meteor Snippets"
git clone git://github.com/mrtnbroder/meteor-snippets.git "~/.config/sublime-text-2/Packages/Meteor Snippets"
git clone git://github.com/mrtnbroder/meteor-snippets.git "%userprofile%\AppData\Roaming\Sublime Text 2\Packages\Meteor Snippets"
tp
<template name='main'>
...
</template>
Meteor.render
Meteor.render(function () {
...
});
Meteor.publish
Meteor.publish('name', function () {
...
});
if
ea
... and a whole lot more!
- remap some tab triggers
- fix some snippets (missing semicolons, whitespace, tab behaviour etc.)
Got some neat Meteor snippets you want to share? fork this repro and send me a pull request!