[PR #70] [CLOSED] Javascript style changes + Collection.observeChanges #83

Closed
opened 2026-05-05 15:02:15 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/awatson1978/meteor-api/pull/70
Author: @aspin
Created: 9/6/2015
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 7018dd8 Complies better with javascript style guide. Changed double quotes to single, added spacing after function()
  • 0a1718e Added spacing to Meteor.methods snippet
  • b60868f Added spacing after IF keyword
  • 24fcf75 Added snippet for Collection.observeChanges + added spacing on between Collection definition and rules
  • 861590d Renamed accounts to be prefixed with Accounts.[stuff] and improved some whitespace
  • 3e59423 Fixed collection allow/deny
  • 7d49a0d added tinytest snippets, fixed to ES6 functions, added spacing

📊 Changes

1 file changed (+510 additions, -471 deletions)

View changed files

📝 snippets/meteor-api-snippets-javascript.cson (+510 -471)

📄 Description

Changed all double quotes to single quotes, added spacing after function() and before the { and after hash keys (e.g. key: value instead of key:value).

These were mostly small things that were annoying me when I was using this package. Discussion welcome.

Reference: Airbnb Javascript Style Guide


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/awatson1978/meteor-api/pull/70 **Author:** [@aspin](https://github.com/aspin) **Created:** 9/6/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`7018dd8`](https://github.com/awatson1978/meteor-api/commit/7018dd872630108a7e2c7f761886c633543a5fec) Complies better with javascript style guide. Changed double quotes to single, added spacing after function() - [`0a1718e`](https://github.com/awatson1978/meteor-api/commit/0a1718e2b5595c52eb31d34b67313de696cdc644) Added spacing to Meteor.methods snippet - [`b60868f`](https://github.com/awatson1978/meteor-api/commit/b60868f7f57fc44e64ef3d48f56776ddbb30a48d) Added spacing after IF keyword - [`24fcf75`](https://github.com/awatson1978/meteor-api/commit/24fcf75c5365ea5d6019b49f116b3c19e59fe4a3) Added snippet for Collection.observeChanges + added spacing on between Collection definition and rules - [`861590d`](https://github.com/awatson1978/meteor-api/commit/861590dde98e58261f0cc5691d4ec1e24ddcbb23) Renamed accounts to be prefixed with Accounts.[stuff] and improved some whitespace - [`3e59423`](https://github.com/awatson1978/meteor-api/commit/3e5942375513b221980c138f47e8ffb62bb510aa) Fixed collection allow/deny - [`7d49a0d`](https://github.com/awatson1978/meteor-api/commit/7d49a0d3ef4d3bb24ee5a62a37cd8c0031b39f8f) added tinytest snippets, fixed to ES6 functions, added spacing ### 📊 Changes **1 file changed** (+510 additions, -471 deletions) <details> <summary>View changed files</summary> 📝 `snippets/meteor-api-snippets-javascript.cson` (+510 -471) </details> ### 📄 Description Changed all double quotes to single quotes, added spacing after `function()` and before the `{` and after hash keys (e.g. `key: value` instead of `key:value`). These were mostly small things that were annoying me when I was using this package. Discussion welcome. Reference: [Airbnb Javascript Style Guide](https://github.com/airbnb/javascript) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 15:02:15 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#83
No description provided.