Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: lib/firebase_collection.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/firebase_auth.dart ('k') | lib/google_chart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/firebase_collection.dart
diff --git a/lib/firebase_collection.dart b/lib/firebase_collection.dart
index 7d263a500920b9e4a47a7623b21134e91912ac0a..5b8fbe20cd736515aadbb709f478a8d7123eb5d5 100644
--- a/lib/firebase_collection.dart
+++ b/lib/firebase_collection.dart
@@ -127,7 +127,7 @@ class FirebaseCollection extends HtmlElement with CustomElementProxyMixin, Polym
/// with the item will be created by Firebase, and can be accessed via the
/// Firebase Query instance returned by this method.
/// [data]: A value to add to the document.
- add(data) =>
+ firebaseAdd(data) =>
jsElement.callMethod('add', [data]);
/// Look up an item in the local `data` Array by key.
@@ -140,7 +140,7 @@ class FirebaseCollection extends HtmlElement with CustomElementProxyMixin, Polym
/// is assumed to be an identical reference to an item already in the
/// `data` Array.
/// [data]: An identical reference to an item in `this.data`.
- removeItem(data) =>
+ firebaseRemove(data) =>
jsElement.callMethod('remove', [data]);
/// Remove an item from the document associated with `location` by key.
« no previous file with comments | « lib/firebase_auth.dart ('k') | lib/google_chart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698