• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

meteor-snippets

Meteor Snippets with tab completion
ThusStyles
0.5.0 18,781
46
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Meteor snippets for atom editor

Basic snippets to make meteor development faster in atom

Works with Javascript + Coffeescript!

Examples

mtp

<template name="name">
  ...
</template>

mea

{{#each collection}}
  ...
{{/each}}

mif

{{#if statement}}
  ...
{{/if}}

mife

{{#if statement}}
  ...
{{else}}
  ...
{{/if}}

cola

Collection.allow({
  insert: function (...) {
    ...
  },
  update: function (...) {
    ...
  },
  remove: function (..) {
    ...
  }
  ...
});

colde

Collection.deny({
  update: function (...) {
    ...
  },
  remove: function (...) {
    ...
  }
  ...
});

mcol

Collection = new Meteor.collection("collection");

mpub

Meteor.publish("name", function(argument){
  ...
});

msub

Meteor.subscribe("name", argument);

mmeth

Meteor.methods({
  "name": function (argument) {
    ...
  }
});

mren

Template.name.onRendered(function(){
  ...
});

mcre

Template.name.onCreated(function(){
  ...
});

mdes

Template.name.onDestroyed(function(){
  ...
});

mhel

Template.name.helpers({
  helper: function(){
    ...
  }
});

mevn

Template.name.events({
  'event': function(e, t){
    ...
  }
});

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by