Nicolas Garnier
1f79e80628
fixed typo
8 years ago
Nicolas Garnier
291e96e813
fixes #119
8 years ago
Nicolas Garnier
59ccc95920
fix indentation
8 years ago
katowulf
15ea32906a
More es6 cleanup (var to const)
8 years ago
katowulf
380fd08cbd
Cleaning up ES6 syntax
8 years ago
katowulf
fe914dae3f
Doubles to singles per nivco's request
8 years ago
katowulf
d9ebd04ceb
Fix promise chain in count-sample
Fixes #94
8 years ago
Nicolas Garnier
a8f509aaba
Adding trailing line jump
8 years ago
Frank van Puffelen
5b31834071
Split the child counting into two functions:
1. tracks add/remove of child nodes and increments/decrements the counter
2. one function is triggered when the counter is deleted and it recounts the child nodes
The delta counter in #1 is more efficient than counting all children every time, since it only needs
access to the delta. The recounter function in #2 is equally inefficient as before, but is needed
a lot less.
8 years ago
idan
07273bcb13
Using the correct syntax
8 years ago
Nicolas Garnier
dc2519ea4a
Updating version of the firebase-functions module in package.json files to launch version
Change-Id: I3f6a6029b97b870f1b99abccea80bfa5d2733cf2
8 years ago
Nicolas Garnier
34d15ce0a3
Updating remaning samples to 0.5.0
Change-Id: I88fc399339d16fe6d48a6e80dd7f47f576090f5c
8 years ago
Nicolas Garnier
990a21c3a1
Update text and Firebase version number in package.json
Change-Id: Iff53d8db2de5031b82d02cf312486c499e43c70c
8 years ago
Nicolas Garnier
dc997909a0
Some fixes to READMEs and updating imports.
Change-Id: I754aaa4e962f1ebfe2f4dbcdc83767b8f3ea6f03
8 years ago
Nicolas Garnier
e034990a72
Updating npm packages versions.
Change-Id: I2974fc5f5cbdb432e21ab49fca4aa4765a814ba3
8 years ago
Nicolas Garnier
a46aafd32f
Updating child-count sample to SDK v0.3.0
Change-Id: Ic92bf32492910ccc7c6ecadac1888351a27f2682
8 years ago
Nicolas Garnier
07de8a011e
Updating the child-count Functions sample.
Change-Id: Idc7a3b8732b0aae201271715498d5e73efe35579
8 years ago
Nicolas Garnier
86e42faba1
Update samples to use promises for Firebase.
Switch to use `request-promise` instead of `request`
9 years ago
Nicolas Garnier
b9ff870227
Adding child counts sample.
9 years ago